File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ func RunDashboardDescribeCommand(args *DescribeArgs) di.CmdWithApiFn {
4848 return common .NewResponseError (err , resp )
4949 }
5050
51- yamlData , err := yaml .Marshal (dashboard )
51+ yamlData , err := yaml .Marshal (dashboard . DashboardReadFullSchema )
5252 if err != nil {
5353 return common .NewExecutionError (fmt .Errorf ("failed to marshal dashboard: %v" , err ))
5454 }
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ func RunDashboardEditCommand(args *EditArgs) di.CmdWithApiFn {
6161 }
6262
6363 // Convert dashboard to pretty JSON for editing
64- originalYAML , err := yaml .Marshal (dashboard )
64+ originalYAML , err := yaml .Marshal (dashboard . DashboardReadFullSchema )
6565 if err != nil {
6666 return common .NewExecutionError (fmt .Errorf ("failed to marshal dashboard to YAML: %v" , err ))
6767 }
You can’t perform that action at this time.
0 commit comments