mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-06-09 00:33:03 -04:00
IcingaHost: do not render Endpoint and Zone...
...for disabled hosts fixes #741
This commit is contained in:
parent
5c158e708e
commit
d4b769b8d7
1 changed files with 4 additions and 0 deletions
|
|
@ -181,6 +181,10 @@ class IcingaHost extends IcingaObject
|
|||
return;
|
||||
}
|
||||
|
||||
if ($this->isDisabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->getRenderingZone($config) === self::RESOLVE_ERROR) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue