From 4eeccce36c06a9769553ce413163fd516f0eb817 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Thu, 16 May 2024 11:57:23 +0200 Subject: [PATCH] Don't loose args in recursive `Downtime::RemoveDowntime()` call --- lib/icinga/downtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/downtime.cpp b/lib/icinga/downtime.cpp index 50c91b3f3..391b543b9 100644 --- a/lib/icinga/downtime.cpp +++ b/lib/icinga/downtime.cpp @@ -376,7 +376,7 @@ void Downtime::RemoveDowntime(const String& id, bool includeChildren, DowntimeRe if (includeChildren) { for (const Downtime::Ptr& child : downtime->GetChildren()) { - Downtime::RemoveDowntime(child->GetName(), true, removalReason); + Downtime::RemoveDowntime(child->GetName(), true, removalReason, removedBy); } }