mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-02 16:39:25 -05:00
Add is_acknowledged property to Node class (#461)
This pull request introduces an `is_acknowledged` property to the `Node` class in the Business Process library to enhance JSON output.
This commit is contained in:
parent
575fb964d0
commit
f12b2d744a
1 changed files with 2 additions and 1 deletions
|
|
@ -547,7 +547,8 @@ abstract class Node
|
|||
'name' => $this->getAlias(),
|
||||
'state' => $this->getStateName(),
|
||||
'since' => $this->getLastStateChange(),
|
||||
'in_downtime' => $this->isInDowntime() ? true : false
|
||||
'in_downtime' => $this->isInDowntime() ? true : false,
|
||||
'in_acknowledged' => $this->isAcknowledged() ? true : false
|
||||
];
|
||||
|
||||
if ($parent !== null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue