IcingaConfig: do not render disabled objectst
This commit is contained in:
parent
520644a67a
commit
35e0830658
|
@ -406,6 +406,8 @@ throw $e;
|
||||||
$file = null;
|
$file = null;
|
||||||
|
|
||||||
foreach ($objects as $object) {
|
foreach ($objects as $object) {
|
||||||
|
if ($object->disabled === 'y') continue;
|
||||||
|
|
||||||
if ($object->isExternal()) {
|
if ($object->isExternal()) {
|
||||||
if ($type === 'zone') {
|
if ($type === 'zone') {
|
||||||
$this->zoneMap[$object->id] = $object->object_name;
|
$this->zoneMap[$object->id] = $object->object_name;
|
||||||
|
|
Loading…
Reference in New Issue