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


##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -736,7 +724,7 @@ protected void handleTagCommand() {
   }
 
   private String getOneTag(String[] tags) {
-    if (tags.length > 1) {
+    if (tags == null || tags.length > 1) {

Review Comment:
   I don't think it is possible for tags to be null at this point, but I guess 
it doesn't hurt



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