mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 08:34:20 +02:00
Fire Checkable::OnFlappingChange only if flapping is enabled
refs #7885
This commit is contained in:
parent
cef4c46ba8
commit
0e24462064
@ -70,7 +70,9 @@ void Checkable::UpdateFlappingStatus(bool stateChange)
|
||||
|
||||
double ee = GetLastCheckResult()->GetExecutionEnd();
|
||||
|
||||
if (GetEnableFlapping() && IcingaApplication::GetInstance()->GetEnableFlapping()) {
|
||||
OnFlappingChange(this, ee);
|
||||
}
|
||||
|
||||
SetFlappingLastChange(ee);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user