mirror of https://github.com/Icinga/icinga2.git
Don't loose args in recursive `Downtime::RemoveDowntime()` call
This commit is contained in:
parent
e0fd0d3df4
commit
4eeccce36c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue