Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaWilkes committed Jun 8, 2023
1 parent 686020c commit e11e7b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkg/cfaws/assumer_aws_sso.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ func (c *Profile) SSOLogin(ctx context.Context, configOpts ConfigOpts) (aws.Cred
// granted exp request latest will try to auto assume after the request is approved.
// It is possible that user might still get forbidden access due to some latency is provisioning sso credentials.
// In such case, let's retry the logic before showing them this error
if configOpts.ShouldRetryAssuming != nil && *configOpts.ShouldRetryAssuming {
fmt.Println("add retry logic here")
}
// if configOpts.ShouldRetryAssuming != nil && *configOpts.ShouldRetryAssuming {
// fmt.Println("add retry logic here")
// }
return aws.Credentials{}, FormatAWSErrorWithGrantedApprovalsURL(serr, c.RawConfig, *gConf, c.AWSConfig.SSORoleName, c.AWSConfig.SSOAccountID)
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/granted/exp/request/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ func requestAccess(ctx context.Context, opts requestAccessOpts) error {
}
si.Stop()

clio.Successf("[%s] Acc1ess is activated (expires in %s)", fullName, durationDescription)
clio.Successf("[%s] Access is activated (expires in %s)", fullName, durationDescription)
clio.NewLine()
clio.Infof("To use the profile with the AWS CLI, run:\nexport AWS_PROFILE=%s", fullName)
return nil
Expand Down

0 comments on commit e11e7b4

Please sign in to comment.