justinmclean commented on code in PR #6048:
URL: https://github.com/apache/gravitino/pull/6048#discussion_r1899900423


##########
clients/cli/src/main/java/org/apache/gravitino/cli/FullName.java:
##########
@@ -73,10 +73,7 @@ public String getMetalakeName() {
       }
     }
 
-    // Extract the metalake name from the full name option
-    if (line.hasOption(GravitinoOptions.NAME)) {
-      return line.getOptionValue(GravitinoOptions.NAME).split("\\.")[0];
-    }
+    System.err.println(ErrorMessages.MISSING_METALAKE);

Review Comment:
   You should also exit here



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

Reply via email to