Skip to content

Commit b694cda

Browse files
committed
OCM-12913 | fix: Swap manual+auto questions for dlt/accountroles
1 parent b61a7bc commit b694cda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/dlt/accountroles/cmd.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func deleteAccountRoles(r *rosa.Runtime, env string, prefix string, clusters []*
210210
r.OCMClient.LogEvent("ROSADeleteAccountRoleModeAuto", nil)
211211
deleteHcpSharedVpcPolicies := false
212212
if roles.CheckIfRolesAreHcpSharedVpc(r, finalRoleList) {
213-
deleteHcpSharedVpcPolicies = confirm.Prompt(true, "Create commands to delete Hosted CP shared VPC"+
213+
deleteHcpSharedVpcPolicies = confirm.Prompt(true, "Attempt to delete Hosted CP shared VPC"+
214214
" policies?")
215215
}
216216
for _, role := range finalRoleList {
@@ -235,7 +235,7 @@ func deleteAccountRoles(r *rosa.Runtime, env string, prefix string, clusters []*
235235
// Get HCP shared vpc policy details if the user is deleting roles related to HCP shared vpc
236236
policiesOutput := make([]*iam.GetPolicyOutput, 0)
237237
if roles.CheckIfRolesAreHcpSharedVpc(r, finalRoleList) &&
238-
confirm.Prompt(true, "Attempt to delete Hosted CP shared VPC policies?") {
238+
confirm.Prompt(true, "Create commands to delete Hosted CP shared VPC policies?") {
239239
for _, role := range finalRoleList {
240240
policiesOutput, err = r.AWSClient.GetPolicyDetailsFromRole(awssdk.String(role))
241241
if err != nil {

0 commit comments

Comments
 (0)