diff --git a/pkg/dashboards/type_overrides.go b/pkg/dashboards/type_overrides.go index 112dbe981..dba23c216 100644 --- a/pkg/dashboards/type_overrides.go +++ b/pkg/dashboards/type_overrides.go @@ -16,15 +16,15 @@ type DashboardLineWidgetThresholdInput struct { } type DashboardLineWidgetThresholdThresholdInput struct { - From *float64 `json:"from,omitempty"` - To *float64 `json:"to,omitempty"` + From string `json:"from,omitempty"` + To string `json:"to,omitempty"` Name string `json:"name,omitempty"` Severity DashboardLineTableWidgetsAlertSeverity `json:"severity,omitempty"` } type DashboardTableWidgetThresholdInput struct { - From *float64 `json:"from,omitempty"` - To *float64 `json:"to,omitempty"` + From string `json:"from,omitempty"` + To string `json:"to,omitempty"` ColumnName string `json:"columnName,omitempty"` Severity DashboardLineTableWidgetsAlertSeverity `json:"severity,omitempty"` }