Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tysonmote committed Jul 12, 2021
1 parent d27d3f2 commit 9de6856
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client.go
Expand Up @@ -167,7 +167,6 @@ func (c *Client) makeRequest(request *batch) {
return
}


b := backoff.NewExponentialBackOff()
b.MaxElapsedTime = 10 * time.Second
err = backoff.Retry(func() error {
Expand All @@ -184,7 +183,7 @@ func (c *Client) makeRequest(request *batch) {

if resp.StatusCode != http.StatusOK {
return fmt.Errorf("HTTP Post Request Failed, Status Code %d. \nResponse: %v \nRequest payload: %v",
resp.StatusCode, response, string(payload))
resp.StatusCode, response, string(payload))
}

return nil
Expand Down

0 comments on commit 9de6856

Please sign in to comment.