errose28 commented on code in PR #5065:
URL: https://github.com/apache/ozone/pull/5065#discussion_r1265611543
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/keys/DeleteKeyHandler.java:
##########
@@ -83,7 +78,7 @@ private void deleteFSOKey(OzoneBucket bucket, String keyName)
// If Bucket layout is FSO and Trash is enabled
// In this case during delete operation move key to trash
- if (trashInterval > 0 && !skipTrash &&
+ if (trashInterval > 0 &&
Review Comment:
Since there will be no --skipTrash flag defined after this change, picocli
should throw this exception for us stating that the flag is not recognized.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]