Skip to content

Commit

Permalink
Don't loose args in recursive Downtime::RemoveDowntime() call
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab authored and Al2Klimov committed Sep 17, 2024
1 parent 088f4e0 commit 6347c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/icinga/downtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 6347c90

Please sign in to comment.