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 (
13
13
"encoding/json"
14
14
"errors"
15
15
"fmt"
16
- "golang.org/x/oauth2"
17
16
"io"
18
17
"io/ioutil"
19
18
"net/http"
@@ -23,6 +22,8 @@ import (
23
22
"sort"
24
23
"strings"
25
24
"time"
25
+
26
+ "golang.org/x/oauth2"
26
27
)
27
28
28
29
type awsSecurityCredentials struct {
@@ -342,7 +343,8 @@ func (cs awsCredentialSource) subjectToken() (string, error) {
342
343
func (cs * awsCredentialSource ) getRegion () (string , error ) {
343
344
if envAwsRegion := getenv ("AWS_REGION" ); envAwsRegion != "" {
344
345
return envAwsRegion , nil
345
- } if envAwsRegion := getenv ("AWS_DEFAULT_REGION" ); envAwsRegion != "" {
346
+ }
347
+ if envAwsRegion := getenv ("AWS_DEFAULT_REGION" ); envAwsRegion != "" {
346
348
return envAwsRegion , nil
347
349
}
348
350
You can’t perform that action at this time.
0 commit comments