From 7e6c635bebeeeb93e9b464e8db577ab2089be1fe Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 30 Mar 2017 23:24:46 +0200 Subject: [PATCH] strip debug output --- fastd-exporter.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fastd-exporter.go b/fastd-exporter.go index 27cadf5..1573f9e 100644 --- a/fastd-exporter.go +++ b/fastd-exporter.go @@ -154,12 +154,6 @@ func data_from_sock(sock string) (Message, error) { return Message{}, err } - dat, err := json.MarshalIndent(msg, "", "\t") - if err != nil { - return Message{}, err - } - - log.Print(string(dat)) return msg, nil }