mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
RedisWriter#SerializeState(): don't stringify previous_hard_state
This commit is contained in:
parent
617a4a2e92
commit
c7e9997294
1 changed files with 1 additions and 1 deletions
|
|
@ -1637,7 +1637,7 @@ Dictionary::Ptr RedisWriter::SerializeState(const Checkable::Ptr& checkable)
|
|||
attrs->Set("severity", host->GetSeverity());
|
||||
}
|
||||
|
||||
attrs->Set("previous_hard_state", Convert::ToString(GetPreviousHardState(checkable, service)));
|
||||
attrs->Set("previous_hard_state", GetPreviousHardState(checkable, service));
|
||||
attrs->Set("check_attempt", checkable->GetCheckAttempt());
|
||||
|
||||
attrs->Set("is_active", checkable->IsActive());
|
||||
|
|
|
|||
Loading…
Reference in a new issue