mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue