Skip to content

Commit

Permalink
input(docker): Cleanup
Browse files Browse the repository at this point in the history
* Removed leftovers, unused code

closes #957
fixes #645
  • Loading branch information
Sergio Jimenez authored and sparrc committed Apr 6, 2016
1 parent 8274798 commit e19c474
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- [#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!
- [#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]

Expand Down
2 changes: 0 additions & 2 deletions plugins/inputs/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit e19c474

Please sign in to comment.