Skip to content

Commit 99de677

Browse files
authored
Merge branch 'grafana-tools:master' into datasources-use-status-code
2 parents 5301079 + 9de4d14 commit 99de677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

panel.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ type (
133133
Bars bool `json:"bars"`
134134
DashLength *uint `json:"dashLength,omitempty"`
135135
Dashes *bool `json:"dashes,omitempty"`
136-
Decimals *uint `json:"decimals,omitempty"`
136+
Decimals *int `json:"decimals,omitempty"`
137137
Fill int `json:"fill"`
138138
// Grid grid `json:"grid"` obsoleted in 4.1 by xaxis and yaxis
139139

@@ -442,7 +442,7 @@ type (
442442
Type string `json:"type"`
443443
ColorMode *string `json:"colorMode,omitempty"`
444444
Colors *[]string `json:"colors,omitempty"`
445-
Decimals *uint `json:"decimals,omitempty"`
445+
Decimals *int `json:"decimals,omitempty"`
446446
Thresholds *[]string `json:"thresholds,omitempty"`
447447
Unit *string `json:"unit,omitempty"`
448448
MappingType int `json:"mappingType,omitempty"`

0 commit comments

Comments
 (0)