Skip to content

Commit

Permalink
Fix typo in error message when looking up account role prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrington22 committed Jul 12, 2022
1 parent 097b44f commit c4134aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/aws/policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ func (c *awsClient) IsUpgradedNeededForAccountRolePolicies(prefix string, versio
if aerr, ok := err.(awserr.Error); ok {
switch aerr.Code() {
case iam.ErrCodeNoSuchEntityException:
return false, errors.NotFound.Errorf("Roles with the prefix'%s' not found", prefix)
return false, errors.NotFound.Errorf("Roles with the prefix '%s' not found", prefix)
}
}
return false, err
Expand Down

0 comments on commit c4134aa

Please sign in to comment.