output json fix #98

This commit is contained in:
Josh Baker 2016-12-14 18:19:30 -07:00
parent bf0fee122d
commit b6c645791f
1 changed files with 0 additions and 1 deletions

View File

@ -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() + "\"}")