Skip to content

Commit

Permalink
style(sdk-config): drop web identity usage from v1 default config
Browse files Browse the repository at this point in the history
Signed-off-by: christophrj <[email protected]>
  • Loading branch information
christophrj committed Nov 22, 2024
1 parent 8e05bac commit 62be48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/utils/connect/aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
stscredstypesv2 "github.com/aws/aws-sdk-go-v2/service/sts/types"
awsv1 "github.com/aws/aws-sdk-go/aws"
credentialsv1 "github.com/aws/aws-sdk-go/aws/credentials"
defaultsV1 "github.com/aws/aws-sdk-go/aws/defaults"
defaultsv1 "github.com/aws/aws-sdk-go/aws/defaults"
endpointsv1 "github.com/aws/aws-sdk-go/aws/endpoints"
requestv1 "github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/session"
Expand Down Expand Up @@ -673,7 +673,7 @@ func GetDefaultConfigV1() (*awsv1.Config, error) {
defer muV1.Unlock()
if defaultConfigV1 == nil {
// use the sdk's default config
defaultConfigV1 = defaultsV1.Get().Config
defaultConfigV1 = defaultsv1.Get().Config
}
return defaultConfigV1.Copy(), nil
}
Expand Down

0 comments on commit 62be48a

Please sign in to comment.