mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaHost: do not render Endpoint and Zone...
...for disabled hosts fixes #741
This commit is contained in:
parent
5c158e708e
commit
d4b769b8d7
@ -181,6 +181,10 @@ class IcingaHost extends IcingaObject
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->isDisabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->getRenderingZone($config) === self::RESOLVE_ERROR) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user