Don't loose args in recursive Downtime::RemoveDowntime() call

This commit is contained in:
Yonas Habteab 2024-05-16 11:57:23 +02:00 committed by Alexander A. Klimov
parent 088f4e0f48
commit 6347c9089d

View File

@ -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);
}
}