Fix plugin name in influxdb_v2 output logging (#5627)

This commit is contained in:
Daniel Nelson 2019-03-26 18:09:35 -07:00 committed by GitHub
parent 5e6374c19b
commit 3bb1548414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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