errose28 commented on a change in pull request #2752:
URL: https://github.com/apache/ozone/pull/2752#discussion_r732330046
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
##########
@@ -2113,16 +2113,19 @@ public boolean checkAcls(OzoneObj obj, RequestContext
context,
if (!accessAuthorizer.checkAccess(obj, context)) {
if (throwIfPermissionDenied) {
+ String volumeName = obj.getVolumeName() != null?
+ obj.getVolumeName() + " ": "";
+ String bucketName = obj.getBucketName() != null?
+ obj.getBucketName() + " ": "";
+ String keyName = obj.getKeyName() != null? obj.getKeyName() + " ": "";
Review comment:
super minor nitpick I don't think we need a space after the key name.
LGTM otherwise.
--
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]