phrocker commented on a change in pull request #557: MINIFICPP-850: Add 
operating system to c2 response
URL: https://github.com/apache/nifi-minifi-cpp/pull/557#discussion_r285523822
 
 

 ##########
 File path: libminifi/include/core/state/nodes/DeviceInformation.h
 ##########
 @@ -113,59 +113,59 @@ class Device {
   std::string device_id_;
  protected:
 
-        std::vector<std::string> getIpAddresses() {
-                static std::vector<std::string> ips;
-                if (ips.empty()) {
+  std::vector<std::string> getIpAddresses() {
+    static std::vector<std::string> ips;
 
 Review comment:
   No it need not be 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to