mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
parent
7cd0395fa4
commit
d3171dc8b9
@ -285,6 +285,10 @@ void Checkable::RemoveExpiredDowntimes(void)
|
||||
}
|
||||
|
||||
BOOST_FOREACH(const String& id, expiredDowntimes) {
|
||||
/* override config owner to clear expired downtimes once */
|
||||
Downtime::Ptr downtime = GetDowntimeByID(id);
|
||||
downtime->SetConfigOwner(Empty);
|
||||
|
||||
RemoveDowntime(id, false);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user