Skip to content

Commit

Permalink
SCALRCORE-20303 Return default backoff callback
Browse files Browse the repository at this point in the history
  • Loading branch information
petroprotsakh committed Sep 28, 2021
1 parent 37816e6 commit cf0bdef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scalr.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func NewClient(cfg *Config) (*Client, error) {
}

client.http = &retryablehttp.Client{
Backoff: retryablehttp.DefaultBackoff,
CheckRetry: client.retryHTTPCheck,
ErrorHandler: retryablehttp.PassthroughErrorHandler,
HTTPClient: config.HTTPClient,
Expand Down

0 comments on commit cf0bdef

Please sign in to comment.