mirror of https://github.com/Icinga/icinga2.git
parent
9bee1aaef6
commit
3b99dc1e84
|
@ -544,7 +544,7 @@ void ServiceDbObject::AddDowntimeByType(const DynamicObject::Ptr& object, const
|
|||
}
|
||||
|
||||
fields1->Set("author_name", downtime->GetAuthor());
|
||||
fields1->Set("triggered_by_id", downtime->GetTriggeredBy());
|
||||
fields1->Set("triggered_by_id", Service::GetDowntimeByID(downtime->GetTriggeredBy()));
|
||||
fields1->Set("is_fixed", downtime->GetFixed());
|
||||
fields1->Set("duration", downtime->GetDuration());
|
||||
fields1->Set("scheduled_start_time", DbValue::FromTimestamp(downtime->GetStartTime()));
|
||||
|
|
Loading…
Reference in New Issue