Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Godo Retryable HTTP Client #1016

Merged
merged 20 commits into from
Aug 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Client -> HTTPClient
  • Loading branch information
danaelhe committed Aug 15, 2023
commit 3a13d125115769c8465a055a707ac6cf49fd81a5
2 changes: 1 addition & 1 deletion digitalocean/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (c *Config) Client() (*CombinedConfig, error) {
godoClient, err := godo.New(client, godoOpts...)
clientTransport := logging.NewTransport("DigitalOcean", client.Transport)

godoClient.Client.Transport = clientTransport
godoClient.HTTPClient.Transport = clientTransport

if err != nil {
return nil, err
Expand Down