From 83ea27eefb81a76bf840dd72259952dccc3e0254 Mon Sep 17 00:00:00 2001 From: luweglarz Date: Mon, 27 Jul 2026 20:57:29 +0200 Subject: [PATCH] [BUGFIX] flamechart: fix palette/shows field mismatch between Go SDK and CUE schema Signed-off-by: luweglarz --- flamechart/sdk/go/flamechart.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flamechart/sdk/go/flamechart.go b/flamechart/sdk/go/flamechart.go index 85a2d7cdb..92dee04c5 100644 --- a/flamechart/sdk/go/flamechart.go +++ b/flamechart/sdk/go/flamechart.go @@ -27,11 +27,11 @@ const ( ) type PluginSpec struct { - ShowSettings bool `json:"showSettings,omitempty" yaml:"showSettings,omitempty"` - ShowSeries bool `json:"showSeries,omitempty" yaml:"showSeries,omitempty"` - ShowTable bool `json:"showTable,omitempty" yaml:"showTable,omitempty"` - ShowFlameGraph bool `json:"showFlameGraph,omitempty" yaml:"showFlameGraph,omitempty"` - Palette Palette `json:"mode" yaml:"mode"` + ShowSettings bool `json:"showSettings" yaml:"showSettings"` + ShowSeries bool `json:"showSeries" yaml:"showSeries"` + ShowTable bool `json:"showTable" yaml:"showTable"` + ShowFlameGraph bool `json:"showFlameGraph" yaml:"showFlameGraph"` + Palette Palette `json:"palette" yaml:"palette"` } type Option func(plugin *Builder) error