input(docker): Cleanup
* Removed leftovers, unused code closes #957 fixes #645
This commit is contained in:
committed by
Cameron Sparr
parent
8274798499
commit
e19c474a92
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user