mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 17:14:25 +02:00
Merge pull request #10345 from Icinga/remove-child-downtimes
ApiActions: Remove child downtimes recursively
This commit is contained in:
commit
061338156c
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user