adoroszlai commented on code in PR #8776:
URL: https://github.com/apache/ozone/pull/8776#discussion_r2199938556


##########
hadoop-ozone/cli-admin/src/main/java/org/apache/hadoop/ozone/admin/om/UpdateRangerSubcommand.java:
##########
@@ -65,12 +64,6 @@ public class UpdateRangerSubcommand implements 
Callable<Void> {
 
   @Override
   public Void call() throws Exception {
-
-    if (StringUtils.isEmpty(omServiceId) && StringUtils.isEmpty(omHost)) {
-      System.err.println("Error: Please specify -id or -host");
-      return null;
-    }

Review Comment:
   Now that the test passes the parameter, this change is no longer needed.  
Please restore `UpdateRangerSubcommand`.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to