RedisWriter#SerializeState(): serialize also Checkable#next_update

refs #54
This commit is contained in:
Alexander A. Klimov 2019-09-25 12:00:34 +02:00 committed by Michael Friedrich
parent 9a3ab8c547
commit 21a900cd9d
1 changed files with 1 additions and 0 deletions

View File

@ -1232,6 +1232,7 @@ Dictionary::Ptr RedisWriter::SerializeState(const Checkable::Ptr& checkable)
attrs->Set("last_update", Utility::GetTime());
attrs->Set("last_state_change", checkable->GetLastStateChange());
attrs->Set("next_check", checkable->GetNextCheck());
attrs->Set("next_update", checkable->GetNextUpdate());
return attrs;
}