fix: run gofmt (#10274)

This commit is contained in:
Joshua Powers 2021-12-14 15:43:37 -07:00 committed by GitHub
parent 7f1008804e
commit de6e421dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ func (w *Wavefront) Write(metrics []telegraf.Metric) error {
if flushErr := w.sender.Flush(); flushErr != nil {
w.Log.Errorf("wavefront flushing error: %v", flushErr)
}
return fmt.Errorf("wavefront sending error: %v", err)
return fmt.Errorf("wavefront sending error: %v", err)
}
w.Log.Errorf("non-retryable error during Wavefront.Write: %v", err)
w.Log.Debugf("Non-retryable metric data: Name: %v, Value: %v, Timestamp: %v, Source: %v, PointTags: %v ", point.Metric, point.Value, point.Timestamp, point.Source, point.Tags)