From bf30ef89ee013b59d0fd2638055180b58043b374 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Wed, 19 Apr 2017 17:02:44 -0700 Subject: [PATCH] Fix ipmi_sensor config is shared between all plugin instances (#2684) --- CHANGELOG.md | 1 + plugins/inputs/ipmi_sensor/ipmi.go | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c32367cb4..6160d7558 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/plugins/inputs/ipmi_sensor/ipmi.go b/plugins/inputs/ipmi_sensor/ipmi.go index 0114812d3..a3beeb297 100644 --- a/plugins/inputs/ipmi_sensor/ipmi.go +++ b/plugins/inputs/ipmi_sensor/ipmi.go @@ -152,6 +152,7 @@ func init() { m.Path = path } inputs.Add("ipmi_sensor", func() telegraf.Input { + m := m return &m }) }