mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-06-09 00:32:04 -04:00
Set state to NODE_EMPTY in case of empty nodes
In case of empty nodes, the state is set to NODE_EMPTY now.
This commit is contained in:
parent
e533ff95f5
commit
7de814a4af
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ class BpNode extends Node
|
|||
|
||||
if (!$this->hasChildren()) {
|
||||
// TODO: delegate this to operators, should mostly fail
|
||||
$this->setState(self::ICINGA_UNKNOWN);
|
||||
$this->setState(self::NODE_EMPTY);
|
||||
$this->setMissing();
|
||||
return $this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue