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


##########
clients/cli/src/main/java/org/apache/gravitino/cli/commands/RemoveSchemaProperty.java:
##########
@@ -77,4 +77,10 @@ public void handle() {
 
     System.out.println(property + " property removed.");
   }
+
+  @Override
+  public Command validate() {
+    if (property == null) exitWithError(ErrorMessages.MISSING_PROPERTY);
+    return super.validate();
+  }

Review Comment:
   This seems to be duplicated a fair amount and could pushed up and renamed.



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