Skip to content

Commit

Permalink
Correct error message when converting to a float
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson committed Jul 24, 2019
1 parent 4e59d51 commit 9fc8976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/processors/converter/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (p *Converter) convertFields(metric telegraf.Metric) {
v, ok := toFloat(value)
if !ok {
metric.RemoveField(key)
logPrintf("error converting to integer [%T]: %v\n", value, value)
logPrintf("error converting to float [%T]: %v\n", value, value)
continue
}

Expand Down

0 comments on commit 9fc8976

Please sign in to comment.