Make influxdb output log message style more consistent
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user