Skip to content

Commit

Permalink
Update examples/retry/retry.go
Browse files Browse the repository at this point in the history
Co-authored-by: Gustavo Bazan <gustavo.bazan@mongodb.com>
  • Loading branch information
wtrocki and gssbzn committed Mar 27, 2024
1 parent 82401e4 commit f2e4418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/retry/retry.go
Expand Up @@ -61,7 +61,7 @@ func main() {

func newRetryableClient(retryClient *retryablehttp.Client, apiKey string, apiSecret string) *http.Client {
var transport http.RoundTripper = &retryablehttp.RoundTripper{Client: retryClient}
digestRetryAbleTransport := digest.NewTransportWithHTTPRoundTripper(apiKey, apiSecret,transport)
digestRetryAbleTransport := digest.NewTransportWithHTTPRoundTripper(apiKey, apiSecret, transport)
retryableClient, err := digestRetryAbleTransport.Client()
if err != nil {
log.Fatal("Cannot instantiate client")
Expand Down

0 comments on commit f2e4418

Please sign in to comment.