From 378b7467a4fd81363fa35eae8bcb8129ed1b8de0 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Thu, 14 Jan 2016 23:12:35 +0000 Subject: [PATCH] Fixed an unused variable --- plugins/inputs/sensors/sensors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/sensors/sensors.go b/plugins/inputs/sensors/sensors.go index 6267ac64b..a4e29eb76 100644 --- a/plugins/inputs/sensors/sensors.go +++ b/plugins/inputs/sensors/sensors.go @@ -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)