lordgamez commented on code in PR #1324:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1324#discussion_r871042006
##########
libminifi/src/c2/C2Agent.cpp:
##########
@@ -627,19 +628,21 @@ void C2Agent::handlePropertyUpdate(const
C2ContentResponse &resp) {
changeUpdateState(update_property(entry.first, entry.second.to_string(),
lifetime));
}
// apply changes and persist properties requested to be persisted
- if (result != state::UpdateState::NO_OPERATION &&
!configuration_->commitChanges()) {
+ auto propertyWasUpdated = [&](){ return result ==
state::UpdateState::FULLY_APPLIED || result ==
state::UpdateState::PARTIALLY_APPLIED; };
Review Comment:
Updated in 8ee5795f8307b55ba1d0042379eacad695f9d26c
--
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]