input(docker): Cleanup
* Removed leftovers, unused code closes #957 fixes #645
This commit is contained in:
parent
c8b22196d6
commit
e75d371495
|
@ -8,6 +8,7 @@
|
||||||
- [#968](https://github.com/influxdata/telegraf/issues/968): Processes plugin gets unknown state when spaces are in (command name)
|
- [#968](https://github.com/influxdata/telegraf/issues/968): Processes plugin gets unknown state when spaces are in (command name)
|
||||||
- [#969](https://github.com/influxdata/telegraf/pull/969): ipmi_sensors: allow : in password. Thanks @awaw!
|
- [#969](https://github.com/influxdata/telegraf/pull/969): ipmi_sensors: allow : in password. Thanks @awaw!
|
||||||
- [#972](https://github.com/influxdata/telegraf/pull/972): dovecot: remove extra newline in dovecot command. Thanks @mrannanj!
|
- [#972](https://github.com/influxdata/telegraf/pull/972): dovecot: remove extra newline in dovecot command. Thanks @mrannanj!
|
||||||
|
- [#645](https://github.com/influxdata/telegraf/issues/645): docker plugin i/o error on closed pipe. Thanks @tripledes!
|
||||||
|
|
||||||
## v0.12.0 [2016-04-05]
|
## v0.12.0 [2016-04-05]
|
||||||
|
|
||||||
|
|
|
@ -149,8 +149,6 @@ func (d *Docker) gatherInfo(acc telegraf.Accumulator) error {
|
||||||
map[string]string{"unit": "bytes"},
|
map[string]string{"unit": "bytes"},
|
||||||
now)
|
now)
|
||||||
// Get storage metrics
|
// Get storage metrics
|
||||||
//driverStatusRaw := []byte(info.DriverStatus)
|
|
||||||
//json.Unmarshal(driverStatusRaw, &driverStatus)
|
|
||||||
for _, rawData := range info.DriverStatus {
|
for _, rawData := range info.DriverStatus {
|
||||||
// Try to convert string to int (bytes)
|
// Try to convert string to int (bytes)
|
||||||
value, err := parseSize(rawData[1])
|
value, err := parseSize(rawData[1])
|
||||||
|
|
Loading…
Reference in New Issue