Make Checkable#flapping_last_change consistent across nodes

refs #7689
This commit is contained in:
Alexander A. Klimov 2019-12-05 15:55:27 +01:00
parent c685b4d269
commit 98ba1c03d0
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ void Checkable::UpdateFlappingStatus(bool stateChange)
SetFlapping(flapping, true); SetFlapping(flapping, true);
if (flapping != GetFlapping()) if (flapping != GetFlapping())
SetFlappingLastChange(Utility::GetTime()); SetFlappingLastChange(GetLastCheckResult()->GetExecutionEnd());
} }
bool Checkable::IsFlapping() const bool Checkable::IsFlapping() const