bharatviswa504 commented on a change in pull request #198: HDDS-2501. Sonar: 
Fix issues found in the ObjectEndpoint class.
URL: https://github.com/apache/hadoop-ozone/pull/198#discussion_r347051982
 
 

 ##########
 File path: 
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/ObjectEndpoint.java
 ##########
 @@ -467,8 +469,8 @@ public Response initializeMultipartUpload(
       return Response.status(Status.OK).entity(
           multipartUploadInitiateResponse).build();
     } catch (IOException ex) {
-      LOG.error("Error in Initiate Multipart Upload Request for bucket: " +
-          bucket + ", key: " + key, ex);
+      LOG.error("Error in Initiate Multipart Upload Request for bucket: {}, " +
+          "key: ", bucket, key, ex);
 
 Review comment:
   Missing {} for parameter key

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to