google: fix syntax error
Change-Id: I18dd98234a87dca59a199d90a5d0b9cedd80e5af
Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/330189
Reviewed-by: Cody Oss <codyoss@google.com>
Trust: Cody Oss <codyoss@google.com>
Trust: Tyler Bui-Palsulich <tbp@google.com>
Run-TryBot: Cody Oss <codyoss@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
diff --git a/google/internal/externalaccount/aws.go b/google/internal/externalaccount/aws.go
index cb41c62..a5a5423 100644
--- a/google/internal/externalaccount/aws.go
+++ b/google/internal/externalaccount/aws.go
@@ -13,7 +13,6 @@
"encoding/json"
"errors"
"fmt"
- "golang.org/x/oauth2"
"io"
"io/ioutil"
"net/http"
@@ -23,6 +22,8 @@
"sort"
"strings"
"time"
+
+ "golang.org/x/oauth2"
)
type awsSecurityCredentials struct {
@@ -342,7 +343,8 @@
func (cs *awsCredentialSource) getRegion() (string, error) {
if envAwsRegion := getenv("AWS_REGION"); envAwsRegion != "" {
return envAwsRegion, nil
- } if envAwsRegion := getenv("AWS_DEFAULT_REGION"); envAwsRegion != "" {
+ }
+ if envAwsRegion := getenv("AWS_DEFAULT_REGION"); envAwsRegion != "" {
return envAwsRegion, nil
}