mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
Don't loose args in recursive Downtime::RemoveDowntime()
call
This commit is contained in:
parent
088f4e0f48
commit
6347c9089d
@ -366,7 +366,7 @@ void Downtime::RemoveDowntime(const String& id, bool includeChildren, DowntimeRe
|
|||||||
|
|
||||||
if (includeChildren) {
|
if (includeChildren) {
|
||||||
for (const Downtime::Ptr& child : downtime->GetChildren()) {
|
for (const Downtime::Ptr& child : downtime->GetChildren()) {
|
||||||
Downtime::RemoveDowntime(child->GetName(), true, removalReason);
|
Downtime::RemoveDowntime(child->GetName(), true, removalReason, removedBy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user