Fixed an unused variable

This commit is contained in:
Matt Davis 2016-01-14 23:12:35 +00:00 committed by Cameron Sparr
parent c0d98ecd4b
commit 378b7467a4
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func (s *Sensors) Gather(acc inputs.Accumulator) error {
fieldName := chipName + ":" + featureLabel
fields := map[string]interface{}{
featureLabel: feature.GetValue(),
fieldName: feature.GetValue(),
}
acc.AddFields("sensors", fields, tags)