Skip to content

Commit

Permalink
Merge pull request #356 from T0MASD/patch-1
Browse files Browse the repository at this point in the history
use single-quoted character literal for region value
  • Loading branch information
openshift-merge-robot authored Mar 30, 2023
2 parents e6d5fa8 + 6334cac commit 438032e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/account/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (o *cliOptions) run() error {
}

if o.output == "json" {
fmt.Printf("{\n\"AccessKeyId\": %q, \n\"Expiration\": %q, \n\"SecretAccessKey\": %q, \n\"SessionToken\": %q, \n\"Region\": %s\n}",
fmt.Printf("{\n\"AccessKeyId\": %q, \n\"Expiration\": %q, \n\"SecretAccessKey\": %q, \n\"SessionToken\": %q, \n\"Region\": %q\n}",
*assumedRoleCreds.AccessKeyId,
*assumedRoleCreds.Expiration,
*assumedRoleCreds.SecretAccessKey,
Expand Down

0 comments on commit 438032e

Please sign in to comment.