justinmclean commented on code in PR #6091:
URL: https://github.com/apache/gravitino/pull/6091#discussion_r1902166723
##########
clients/cli/src/main/java/org/apache/gravitino/cli/commands/RemoveMetalakeProperty.java:
##########
@@ -60,4 +60,11 @@ public void handle() {
System.out.println(property + " property removed.");
}
+
+ @Override
+ public Command verify() {
+ if (metalake == null) exitWithError(ErrorMessages.MISSING_METALAKE);
+ if (property == null) exitWithError(ErrorMessages.MISSING_PROPERTY);
+ return this;
+ }
Review Comment:
Again there should be no need to duplicate parts of other verify methods.
--
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]