diff --git a/lib/icinga/checkable-check.cpp b/lib/icinga/checkable-check.cpp index 737482f0f..a70f8d69c 100644 --- a/lib/icinga/checkable-check.cpp +++ b/lib/icinga/checkable-check.cpp @@ -319,7 +319,7 @@ void Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const MessageOrig olock.Unlock(); if (remove_acknowledgement_comments) - RemoveAckComments(); + RemoveAckComments(String(), cr->GetExecutionEnd()); Dictionary::Ptr vars_after = new Dictionary({ { "state", new_state },