Fix ipmi_sensor config is shared between all plugin instances (#2684)

This commit is contained in:
Daniel Nelson 2017-04-19 17:02:44 -07:00 committed by GitHub
parent 3690e1b9bf
commit bf30ef89ee
2 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,7 @@ be deprecated eventually.
- [#2628](https://github.com/influxdata/telegraf/issues/2628): Set default measurement name for snmp input.
- [#2649](https://github.com/influxdata/telegraf/pull/2649): Improve performance of diskio with many disks
- [#2671](https://github.com/influxdata/telegraf/issues/2671): The internal input plugin uses the wrong units for `heap_objects`
- [#2684](https://github.com/influxdata/telegraf/pull/2684): Fix ipmi_sensor config is shared between all plugin instances
## v1.2.1 [2017-02-01]

View File

@ -152,6 +152,7 @@ func init() {
m.Path = path
}
inputs.Add("ipmi_sensor", func() telegraf.Input {
m := m
return &m
})
}