duongnguyen0 commented on code in PR #3594:
URL: https://github.com/apache/ozone/pull/3594#discussion_r925030520


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/ObjectEndpoint.java:
##########
@@ -204,7 +207,7 @@ public Response put(
         body = new SignedChunksInputStream(body);
       }
 
-      output = bucket.createKey(
+      output = getClientProtocol().createKey(volume.getName(), bucketName,

Review Comment:
   It's actually no different. Yet I think it's better to consistently avoid 
depending on `OzoneBucket` where possible. 



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