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

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