Abyss-lord commented on code in PR #6359:
URL: https://github.com/apache/gravitino/pull/6359#discussion_r1948304863


##########
clients/cli/src/main/java/org/apache/gravitino/cli/commands/DeleteUser.java:
##########
@@ -53,6 +53,10 @@ public DeleteUser(
   public void handle() {
     boolean deleted = false;
 
+    if ("anonymous".equalsIgnoreCase(user)) {
+      exitWithError(ErrorMessages.DELETE_ANONYMOUS_USER);
+    }
+

Review Comment:
   @shaofengshi @justinmclean ,  I’ve finished updating the code. Please take a 
look at the PR again when you have time.



-- 
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: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to