Skip to content

Commit

Permalink
fix go linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicriordan committed Dec 28, 2023
1 parent e88d913 commit deb17c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http-retry/http-retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (s *BackoffHTTPRetry) Send(req *http.Request) error {

t := time.Now()
resp, err := s.httpclient.Do(req)
s.logger.Debugf("Req %s took %s", req.URL, time.Now().Sub(t))
s.logger.Debugf("Req %s took %s", req.URL, time.Since(t))

if err != nil {
return s.handleErr(err)
Expand Down

0 comments on commit deb17c4

Please sign in to comment.