File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
google/internal/externalaccount Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import (
1313 "encoding/json"
1414 "errors"
1515 "fmt"
16- "golang.org/x/oauth2"
1716 "io"
1817 "io/ioutil"
1918 "net/http"
@@ -23,6 +22,8 @@ import (
2322 "sort"
2423 "strings"
2524 "time"
25+
26+ "golang.org/x/oauth2"
2627)
2728
2829type awsSecurityCredentials struct {
@@ -342,7 +343,8 @@ func (cs awsCredentialSource) subjectToken() (string, error) {
342343func (cs * awsCredentialSource ) getRegion () (string , error ) {
343344 if envAwsRegion := getenv ("AWS_REGION" ); envAwsRegion != "" {
344345 return envAwsRegion , nil
345- } if envAwsRegion := getenv ("AWS_DEFAULT_REGION" ); envAwsRegion != "" {
346+ }
347+ if envAwsRegion := getenv ("AWS_DEFAULT_REGION" ); envAwsRegion != "" {
346348 return envAwsRegion , nil
347349 }
348350
You can’t perform that action at this time.
0 commit comments