Skip to content

Commit

Permalink
fix(godaddy): ineffectual assignment to err (ineffassign)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstojda committed Jan 16, 2025
1 parent 3be760d commit 90763df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions provider/godaddy/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ func (c *Client) Do(req *http.Request) (*http.Response, error) {

c.Ratelimiter.Wait(req.Context())
resp, err = c.Client.Do(req)
if err != nil {
return nil, fmt.Errorf("doing request after waiting for retry after: %w", err)
}
}
if c.Logger != nil {
c.Logger.LogResponse(resp)
Expand Down

0 comments on commit 90763df

Please sign in to comment.