From b6c645791f8002b06c5c16e780e33b1648616566 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Wed, 14 Dec 2016 18:19:30 -0700 Subject: [PATCH] output json fix #98 --- controller/json.go | 1 - 1 file changed, 1 deletion(-) diff --git a/controller/json.go b/controller/json.go index b5d1e46b..442a7ad7 100644 --- a/controller/json.go +++ b/controller/json.go @@ -86,7 +86,6 @@ func (c *Controller) cmdJget(msg *server.Message) (string, error) { switch msg.OutputType { case server.JSON: if res.Exists() { - var val string buf.WriteString(`,"value":` + jsonString(val)) } buf.WriteString(`,"elapsed":"` + time.Now().Sub(start).String() + "\"}")