Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjiazhu committed Nov 13, 2023
1 parent 117e6e0 commit 0ce8b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/flusher/http/flusher_http.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func (f *FlusherHTTP) flushWithRetry(data []byte, varValues map[string]string) e
var err error
start := time.Now()
defer func() {
flushLatency.Add(int64(time.Since(start).Milliseconds()))
flushLatency.Add(time.Since(start).Milliseconds())
}()

for i := 0; i <= f.Retry.MaxRetryTimes; i++ {
Expand Down

0 comments on commit 0ce8b5e

Please sign in to comment.