Skip to content

Commit

Permalink
feat: add prompting to confirm project role deletion
Browse files Browse the repository at this point in the history
Signed-off-by: pashakostohrys <pavel@codefresh.io>
  • Loading branch information
pasha-codefresh committed Oct 31, 2024
1 parent 7ce509e commit 1382576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/argocd/commands/project_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ $ argocd proj role delete-token test-project test-role 1696769937
_, err = projIf.DeleteToken(ctx, &projectpkg.ProjectTokenDeleteRequest{Project: projName, Role: roleName, Iat: issuedAt})
errors.CheckError(err)
} else {
fmt.Printf("The command to delete project token token '%s' was cancelled.\n", tokenId)
fmt.Printf("The command to delete project token '%s' was cancelled.\n", tokenId)
}
},
}
Expand Down

0 comments on commit 1382576

Please sign in to comment.