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

This commit is contained in:
Yonas Habteab 2024-05-16 11:57:23 +02:00
parent e0fd0d3df4
commit 4eeccce36c
1 changed files with 1 additions and 1 deletions

View File

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