tengqm commented on code in PR #6127:
URL: https://github.com/apache/gravitino/pull/6127#discussion_r1904864048
##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -805,9 +793,12 @@ url, ignore, metalake, getOneRole(roles,
CommandActions.REMOVE), name, privilege
}
}
- private String getOneRole(String[] roles, String command) {
- Preconditions.checkArgument(
- roles.length == 1, command + " requires only one role, but multiple
are currently passed.");
+ private String getOneRole(String[] roles) {
Review Comment:
Not 100% sure whether this is actually needed.
Sounds like this is not a new topic.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]