mirror of https://github.com/Icinga/icinga2.git
IcingaDB::SerializeState(): include whether an ack is sticky
This commit is contained in:
parent
2e22ceb23e
commit
35f25e99b4
|
@ -1877,7 +1877,7 @@ Dictionary::Ptr IcingaDB::SerializeState(const Checkable::Ptr& checkable)
|
|||
attrs->Set("is_reachable", checkable->IsReachable());
|
||||
attrs->Set("is_flapping", checkable->IsFlapping());
|
||||
|
||||
attrs->Set("is_acknowledged", checkable->IsAcknowledged());
|
||||
attrs->Set("acknowledgement", checkable->GetAcknowledgement());
|
||||
if (checkable->IsAcknowledged()) {
|
||||
Timestamp entry = 0;
|
||||
Comment::Ptr AckComment;
|
||||
|
|
Loading…
Reference in New Issue