From bdea460f06312bfc31ab4f59876346fe9829f22d Mon Sep 17 00:00:00 2001 From: Paul Dix Date: Thu, 10 Jul 2014 14:35:15 -0400 Subject: [PATCH] Ugh, marshal needs a pointer, derrrr --- influxdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influxdb.go b/influxdb.go index 80fb6271b5..994489a98d 100644 --- a/influxdb.go +++ b/influxdb.go @@ -546,7 +546,7 @@ func (self *Client) GetShardSpaces() ([]*ShardSpace, error) { return nil, err } spaces := []*ShardSpace{} - err = json.Unmarshal(body, spaces) + err = json.Unmarshal(body, &spaces) if err != nil { return nil, err }