Make influxdb output log message style more consistent

This commit is contained in:
Daniel Nelson 2018-09-04 13:19:54 -07:00
parent ab058b396f
commit 87b8141d13
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ func (i *InfluxDB) Write(metrics []telegraf.Metric) error {
} }
} }
log.Printf("E! [outputs.influxdb]: when writing to [%s]: %v", client.URL(), err) log.Printf("E! [outputs.influxdb] when writing to [%s]: %v", client.URL(), err)
} }
return errors.New("could not write any address") return errors.New("could not write any address")