From 02c64b2e2f7e784bb47f8605196fa6142aa5735f Mon Sep 17 00:00:00 2001 From: "Alexander I.Grafov" Date: Wed, 7 Dec 2016 21:23:24 +0300 Subject: [PATCH] Set better type for the field. --- grafana/panel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grafana/panel.go b/grafana/panel.go index 0b12b6a..80732d9 100644 --- a/grafana/panel.go +++ b/grafana/panel.go @@ -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"`