We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2366bb commit bd2272aCopy full SHA for bd2272a
pkg/awsauth/settings.go
@@ -181,6 +181,9 @@ func (s Settings) WithHTTPClient() LoadOptionsFunc {
181
if s.HTTPClient != nil {
182
options.HTTPClient = s.HTTPClient
183
}
184
+ if options.HTTPClient == nil {
185
+ options.HTTPClient = http.DefaultClient
186
+ }
187
if s.ProxyOptions != nil {
188
if client, ok := options.HTTPClient.(*http.Client); ok {
189
if client.Transport == nil {
0 commit comments