Merge pull request #10345 from Icinga/remove-child-downtimes

ApiActions: Remove child downtimes recursively
This commit is contained in:
Julian Brost 2025-03-21 16:37:43 +01:00 committed by GitHub
commit 061338156c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -494,7 +494,7 @@ Dictionary::Ptr ApiActions::ScheduleDowntime(const ConfigObject::Ptr& object,
<< "Scheduling downtime for child object " << child->GetName();
Downtime::Ptr childDowntime = Downtime::AddDowntime(child, author, comment, startTime, endTime,
fixed, trigger, duration);
fixed, trigger, duration, String(), String(), downtimeName);
String childDowntimeName = childDowntime->GetName();
Log(LogNotice, "ApiActions")