Skip to content

Commit 28aca56

Browse files
committed
fixing tests.
1 parent f20dd98 commit 28aca56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/console/console.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ func fmtURL(token, region string) (string, error) {
2424
return "", errMissingAuthToken
2525
}
2626

27+
if region == "" {
28+
region = DefaultRegion
29+
}
30+
2731
var (
2832
consoleURL = "console.aws.amazon.com"
2933
fURL = federationURL

0 commit comments

Comments
 (0)