From 6347c9089d9892f49a4cb1c5e4766b37475405af 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 e06d202b5..287286c7f 100644 --- a/lib/icinga/downtime.cpp +++ b/lib/icinga/downtime.cpp @@ -366,7 +366,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); } }