arp7 commented on a change in pull request #1230: HDDS-1895. Support Key ACL 
operations for OM HA.
URL: https://github.com/apache/hadoop/pull/1230#discussion_r312649376
 
 

 ##########
 File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/utils/OzoneManagerRatisUtils.java
 ##########
 @@ -141,20 +144,26 @@ private static OMClientRequest getOMAclRequest(OMRequest 
omRequest) {
         return new OMVolumeAddAclRequest(omRequest);
       } else if (ObjectType.BUCKET == type) {
         return new OMBucketAddAclRequest(omRequest);
+      } else if (type == ObjectType.KEY) {
 
 Review comment:
   The code is using reverse order for equality. Can you use the same?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to