diff --git a/lib/icinga/clusterevents.cpp b/lib/icinga/clusterevents.cpp index 4d8783a39..44bb6bc6a 100644 --- a/lib/icinga/clusterevents.cpp +++ b/lib/icinga/clusterevents.cpp @@ -1025,7 +1025,7 @@ Value ClusterEvents::ExecutedCommandAPIHandler(const MessageOrigin::Ptr& origin, if (params->Contains("end")) execution->Set("end", params->Get("end")); - execution->Set("pending", false); + execution->Remove("pending"); /* Broadcast the update */ Dictionary::Ptr executionsToBroadcast = new Dictionary();