Fixed an unused variable
This commit is contained in:
parent
c0d98ecd4b
commit
378b7467a4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue