mirror of https://github.com/Icinga/icinga2.git
Bugfix: DowntimeProcessor::AddDowntime() should return new downtime ID.
This commit is contained in:
parent
07a1249a97
commit
d753a0c9cd
|
@ -56,6 +56,8 @@ int DowntimeProcessor::AddDowntime(const DynamicObject::Ptr& owner,
|
|||
|
||||
downtimes->Set(Convert::ToString(id), downtime);
|
||||
owner->Set("downtimes", downtimes);
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
void DowntimeProcessor::RemoveDowntime(int id)
|
||||
|
|
Loading…
Reference in New Issue