mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
parent
40b4040880
commit
21d1ffa28b
@ -166,7 +166,7 @@ bool Downtime::IsInEffect(void) const
|
|||||||
if (triggerTime == 0)
|
if (triggerTime == 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return (triggerTime + GetDuration() < now);
|
return (now < triggerTime + GetDuration());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Downtime::IsTriggered(void) const
|
bool Downtime::IsTriggered(void) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user