Skip to content

Commit

Permalink
qc'd!
Browse files Browse the repository at this point in the history
  • Loading branch information
monde committed Oct 12, 2023
1 parent cc51343 commit f69f202
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/okta/okta-aws-cli

go 1.19
go 1.21

require (
github.com/AlecAivazis/survey/v2 v2.3.6
Expand Down
5 changes: 3 additions & 2 deletions internal/webssoauth/webssoauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,9 @@ func (w *WebSSOAuthentication) awsAssumeRoleWithSAML(iar *idpAndRole, assertion
),
})
if p, err := w.fetchAWSAccountAlias(sessCopy); err != nil {
fmt.Fprintf(os.Stderr, "unable to determine account alias, setting alias name to %q\n", "org")
profileName = "org"
org := "org"
fmt.Fprintf(os.Stderr, "unable to determine account alias, setting alias name to %q\n", org)
profileName = org
} else {
profileName = p
}
Expand Down
3 changes: 2 additions & 1 deletion internal/webssoauth/webssoauth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ func TestOpenBrowserCommandSplitArgs(t *testing.T) {
"-na",
"Google Chrome",
"--args",
"--incognito"},
"--incognito",
},
},
{
name: "osx open named app google chrome in incognito mode",
Expand Down

0 comments on commit f69f202

Please sign in to comment.