From 9063312636c2c3663d88d8ff0e2d6e7d95c5225a Mon Sep 17 00:00:00 2001 From: Joseph Rothrock Date: Tue, 17 Mar 2015 15:27:33 -0700 Subject: [PATCH] cory sez to remove tags --- client/influxdb.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/influxdb.go b/client/influxdb.go index 17ff0145ca..b4872f8ab2 100644 --- a/client/influxdb.go +++ b/client/influxdb.go @@ -274,11 +274,11 @@ func (a Results) Error() error { // Precision can be specified if the timestamp is in epoch format (integer). // Valid values for Precision are n, u, ms, s, m, and h type Point struct { - Name string `json:"name,omitempty"` - Tags map[string]string `json:"tags,omitempty"` - Timestamp time.Time `json:"timestamp,omitempty"` //XXX omitempty doesn't work on time.Time - Fields map[string]interface{} `json:"fields,omitempty"` - Precision string `json:"precision,omitempty"` + Name string + Tags map[string]string + Timestamp time.Time + Fields map[string]interface{} + Precision string } // MarshalJSON will format the time in RFC3339Nano