From 5afad83d8bfdcc5f85af25d2f1e2c64f55d7dc0c Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Wed, 30 Nov 2016 15:22:35 -0600 Subject: [PATCH] Allow upper and lower bound to be zero --- chronograf.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chronograf.go b/chronograf.go index f93ae10272..acf1ee5b4f 100644 --- a/chronograf.go +++ b/chronograf.go @@ -55,8 +55,8 @@ type TimeSeries interface { // Range represents an upper and lower bound for data type Range struct { - Upper int64 `json:"upper,omitempty"` // Upper is the upper bound - Lower int64 `json:"lower,omitempty"` // Lower is the lower bound + Upper int64 `json:"upper"` // Upper is the upper bound + Lower int64 `json:"lower"` // Lower is the lower bound } // Query retrieves a Response from a TimeSeries.