From d2988bef78c2c9bbd6c8e4103c9416e7cb06966f Mon Sep 17 00:00:00 2001 From: Sergio Jimenez Date: Tue, 5 Apr 2016 01:03:28 +0200 Subject: [PATCH] input(docker): Cleanup * Removed leftovers, unused code --- plugins/inputs/docker/docker.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/inputs/docker/docker.go b/plugins/inputs/docker/docker.go index d753e8b63..094bad8ca 100644 --- a/plugins/inputs/docker/docker.go +++ b/plugins/inputs/docker/docker.go @@ -149,8 +149,6 @@ func (d *Docker) gatherInfo(acc telegraf.Accumulator) error { map[string]string{"unit": "bytes"}, now) // Get storage metrics - //driverStatusRaw := []byte(info.DriverStatus) - //json.Unmarshal(driverStatusRaw, &driverStatus) for _, rawData := range info.DriverStatus { // Try to convert string to int (bytes) value, err := parseSize(rawData[1])