Skip to content

Commit 0613381

Browse files
authored
Merge pull request #10345 from Icinga/remove-child-downtimes
ApiActions: Remove child downtimes recursively
2 parents adde9cc + 3d761c0 commit 0613381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/icinga/apiactions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ Dictionary::Ptr ApiActions::ScheduleDowntime(const ConfigObject::Ptr& object,
494494
<< "Scheduling downtime for child object " << child->GetName();
495495

496496
Downtime::Ptr childDowntime = Downtime::AddDowntime(child, author, comment, startTime, endTime,
497-
fixed, trigger, duration);
497+
fixed, trigger, duration, String(), String(), downtimeName);
498498
String childDowntimeName = childDowntime->GetName();
499499

500500
Log(LogNotice, "ApiActions")

0 commit comments

Comments
 (0)