adoroszlai commented on a change in pull request #192: HDDS-2517. Immediately 
return rather than holding to variable and the…
URL: https://github.com/apache/hadoop-ozone/pull/192#discussion_r347041563
 
 

 ##########
 File path: 
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientGrpc.java
 ##########
 @@ -231,8 +231,8 @@ public ContainerCommandResponseProto sendCommand(
       ContainerCommandRequestProto request) throws IOException {
     try {
       XceiverClientReply reply;
-      reply = sendCommandWithTraceIDAndRetry(request, null);
-      return reply.getResponse().get();
+      return sendCommandWithTraceIDAndRetry(request, null).
 
 Review comment:
   `reply` is no longer used, please remove to avoid introducing another issue.

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