aminadinari19 commented on a change in pull request #1040:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1040#discussion_r630852673



##########
File path: controller/MiNiFiController.cpp
##########
@@ -167,9 +165,10 @@ int main(int argc, char **argv) {
           socket = secure_context != nullptr ? 
stream_factory_->createSecureSocket(host, port, secure_context) : 
stream_factory_->createSocket(host, port);
           if (getConnectionSize(std::move(socket), std::cout, connection) < 0)
             std::cout << "Could not connect to remote host " << host << ":" << 
port << std::endl;
-        } else
+        } else {
           std::cout << "Could not connect to remote host " << host << ":" << 
port << std::endl;
       }
+      }

Review comment:
       Sorry I thought this is an old comment and didn't see the date. 
Hopefully it's correct now.




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


Reply via email to