Author: Paolo Lulli <paolo@lulli.net>
Print payload if not reformatting
client/main.go | 5 ++++-
diff --git a/client/main.go b/client/main.go index 8a05605d3a6638c18f4787267ce140879d24ee12..847ef7c2c1b81bc03a0c454feeddf50e5bc0c1f9 100644 --- a/client/main.go +++ b/client/main.go @@ -274,7 +274,10 @@ } os.Exit(0) } - fmt.Printf("%s", listResponse) + for _, metric := range composedList { + fmt.Printf("%d %s=%s\n", metric.Mtime, metric.Name, metric.Value) + } + os.Exit(0) }