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


##########
clients/cli/src/main/java/org/apache/gravitino/cli/commands/ListMetalakes.java:
##########
@@ -43,7 +43,11 @@ public void handle() {
     try {
       GravitinoAdminClient client = buildAdminClient();
       metalakes = client.listMetalakes();
-      output(metalakes);
+      if (metalakes.length == 0) {
+        System.out.println("No metalakes exists.");
+      } else {
+        output(metalakes);
+      }

Review Comment:
   This seems unlikely but I guess it doesn't hurt to have it in.



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