adam-markovics commented on a change in pull request #1252:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1252#discussion_r813063557



##########
File path: libminifi/src/c2/C2Client.cpp
##########
@@ -115,7 +116,8 @@ void 
C2Client::initialize(core::controller::ControllerServiceProvider *controlle
         flowMonitor->setFlowVersion(flow_configuration_->getFlowVersion());
       }
       std::lock_guard<std::mutex> guard(metrics_mutex_);
-      root_response_nodes_[response_node->getName()] = response_node;
+      std::unique_ptr<state::response::ResponseNode> 
responseNodeToStore{dynamic_cast<state::response::ResponseNode*>(instance.release())};

Review comment:
       Done.




-- 
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: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to