peterxcli commented on code in PR #10138:
URL: https://github.com/apache/ozone/pull/10138#discussion_r3176995824
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmBucketArgs.java:
##########
@@ -151,6 +155,18 @@ public BucketEncryptionKeyInfo
getBucketEncryptionKeyInfo() {
return bekInfo;
}
+ public CorsConfiguration getCorsConfiguration() {
+ return corsConfiguration;
+ }
+
+ public boolean hasCorsConfiguration() {
+ return corsConfiguration != null;
+ }
+
+ public boolean shouldClearCorsConfiguration() {
Review Comment:
Ok, let’s keep it as is, that’s just a small nit.
--
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]