mirror of https://github.com/Icinga/icinga2.git
Remove pending key when the execution is completed
This commit is contained in:
parent
5a4fa69650
commit
2cda17a99b
|
@ -1025,7 +1025,7 @@ Value ClusterEvents::ExecutedCommandAPIHandler(const MessageOrigin::Ptr& origin,
|
||||||
if (params->Contains("end"))
|
if (params->Contains("end"))
|
||||||
execution->Set("end", params->Get("end"));
|
execution->Set("end", params->Get("end"));
|
||||||
|
|
||||||
execution->Set("pending", false);
|
execution->Remove("pending");
|
||||||
|
|
||||||
/* Broadcast the update */
|
/* Broadcast the update */
|
||||||
Dictionary::Ptr executionsToBroadcast = new Dictionary();
|
Dictionary::Ptr executionsToBroadcast = new Dictionary();
|
||||||
|
|
Loading…
Reference in New Issue