Skip to content

Commit ecf6e28

Browse files
committed
fix(options-input): update bool to pointer
1 parent 8f0e24c commit ecf6e28

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/dashboards/types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,11 +518,11 @@ type DashboardVariableOptions struct {
518518
// DashboardVariableOptionsInput - Options applied to the variable
519519
type DashboardVariableOptionsInput struct {
520520
// With this turned on, query condition defined with the variable will not be included in the query.
521-
Excluded bool `json:"excluded,omitempty"`
521+
Excluded *bool `json:"excluded,omitempty"`
522522
// Only applies to variables of type NRQL. With this turned on, the time range for the NRQL query will override the time picker on dashboards and other pages. Turn this off to use the time picker as normal.
523-
IgnoreTimeRange bool `json:"ignoreTimeRange,omitempty"`
523+
IgnoreTimeRange *bool `json:"ignoreTimeRange,omitempty"`
524524
// Determines whether or not an Apply action will be shown when selecting multiple values in ENUM and NRQL variables.
525-
ShowApplyAction bool `json:"showApplyAction,omitempty"`
525+
ShowApplyAction *bool `json:"showApplyAction,omitempty"`
526526
}
527527

528528
// DashboardWidgetConfigurationInput - Typed configuration for known visualizations. At most one may be populated.

0 commit comments

Comments
 (0)