F64116045 commented on code in PR #12215:
URL: https://github.com/apache/ozone/pull/12215#discussion_r4812149509


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/OzoneBucket.java:
##########
@@ -1352,6 +1353,16 @@ public void deleteObjectTagging(String keyName) throws 
IOException {
     proxy.deleteObjectTagging(volumeName, name, keyName);
   }
 
+  /**
+   * Enables Object Lock and sets the default retention for this bucket.
+   *
+   * @param defaultRetention the default retention, or null to clear the 
default
+   * @throws IOException if the configuration could not be set
+   */
+  public void setObjectLockConfiguration(BucketRetention defaultRetention) 
throws IOException {

Review Comment:
   Added `BucketRetention.empty(`) in 
[174bacec4d](https://github.com/apache/ozone/commit/174bacec4d3beea037e388a1f510f7bcd38a8d5c).



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

Reply via email to