Skip to content

Commit

Permalink
Set better type for the field.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafov committed Dec 7, 2016
1 parent 3997bd5 commit 02c64b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grafana/panel.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ type (
Min *int `json:"min"`
Show bool `json:"show"`
} `json:"yaxes"` // was added in Grafana 3.x
Decimals *int `json:"decimals,omitempty"` // seems it was added in Grafana 3.x
Decimals *uint `json:"decimals,omitempty"` // seems it was added in Grafana 3.x
}
TablePanel struct {
Columns []column `json:"columns"`
Expand Down

0 comments on commit 02c64b2

Please sign in to comment.