diff --git a/cmd/upgrade/accountroles/cmd.go b/cmd/upgrade/accountroles/cmd.go index e91e35b1bc..a66edc698d 100644 --- a/cmd/upgrade/accountroles/cmd.go +++ b/cmd/upgrade/accountroles/cmd.go @@ -245,7 +245,7 @@ func upgradeAccountRolePolicies(reporter *rprtr.Object, awsClient aws.Client, pr } func upgradeOperatorRolePolicies(reporter *rprtr.Object, awsClient aws.Client, accountID string, prefix string) error { - if !confirm.Prompt(true, "Upgrade the operator role policies to version %s?", aws.DefaultPolicyVersion) { + if !confirm.Prompt(true, "Upgrade the operator role policy to version %s?", aws.DefaultPolicyVersion) { if args.isInvokedFromClusterUpgrade { return reporter.Errorf("Operator roles need to be upgraded to proceed" + "") diff --git a/cmd/upgrade/cluster/cmd.go b/cmd/upgrade/cluster/cmd.go index 460889d16f..91ffd5b9b1 100644 --- a/cmd/upgrade/cluster/cmd.go +++ b/cmd/upgrade/cluster/cmd.go @@ -284,7 +284,7 @@ func run(cmd *cobra.Command, _ []string) { accountRoleStr := fmt.Sprintf("rosa upgrade account-roles --prefix %s", prefix) operatorRoleStr := fmt.Sprintf("rosa upgrade operator-roles -c %s", clusterKey) - reporter.Infof("Account and/Or Operator Role policies are not valid with upgrade version %s. "+ + reporter.Infof("Account and/or Operator Role policies are not valid with upgrade version %s. "+ "Run the following command(s) to upgrade the roles:\n\n"+ "\t%s\n"+ "\t%s\n", version, accountRoleStr, operatorRoleStr)