Skip to content

Commit

Permalink
fix(dashboard): update line and table widget threshold to and from fi…
Browse files Browse the repository at this point in the history
…elds datatypes to float64 (#1192)
  • Loading branch information
vagrawal-newrelic committed Jul 15, 2024
1 parent 488ace7 commit 9ba3ac3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/dashboards/type_overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ type DashboardLineWidgetThresholdInput struct {
}

type DashboardLineWidgetThresholdThresholdInput struct {
From *int `json:"from,omitempty"`
To *int `json:"to,omitempty"`
From *float64 `json:"from,omitempty"`
To *float64 `json:"to,omitempty"`
Name string `json:"name,omitempty"`
Severity DashboardLineTableWidgetsAlertSeverity `json:"severity,omitempty"`
}

type DashboardTableWidgetThresholdInput struct {
From *int `json:"from,omitempty"`
To *int `json:"to,omitempty"`
From *float64 `json:"from,omitempty"`
To *float64 `json:"to,omitempty"`
ColumnName string `json:"columnName,omitempty"`
Severity DashboardLineTableWidgetsAlertSeverity `json:"severity,omitempty"`
}
Expand Down

0 comments on commit 9ba3ac3

Please sign in to comment.