mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 17:14:25 +02:00
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…
x
Reference in New Issue
Block a user