dombizita commented on code in PR #9723:
URL: https://github.com/apache/ozone/pull/9723#discussion_r3602864486


##########
hadoop-ozone/cli-admin/src/main/java/org/apache/hadoop/ozone/admin/om/PrepareSubCommand.java:
##########
@@ -123,10 +124,9 @@ private void execute(OzoneManagerProtocol client) throws 
Exception {
       for (Map.Entry<String, Boolean> e : omPreparedStatusMap.entrySet()) {
         if (!e.getValue()) {
           String omHost = e.getKey();
-          try (OzoneManagerProtocol singleOmClient =
-                    parent.createOmClient(omServiceOption.getServiceID(), 
omHost, false)) {
-            PrepareStatusResponse response =
-                singleOmClient.getOzoneManagerPrepareStatus(prepareTxnId);
+          try (OzoneManagerProtocol singleOmClient = 
parent.createOmClient(omServiceOption.getServiceID(), omHost,
+              false)) {
+            PrepareStatusResponse response = 
singleOmClient.getOzoneManagerPrepareStatus(prepareTxnId);

Review Comment:
   nit: are these changes necessary? 



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