mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-21 12:54:26 +02:00
IcingaConfig: add parent zone to auto-zones
This commit is contained in:
parent
ce44252f8e
commit
129cc8220b
@ -370,8 +370,9 @@ throw $e;
|
||||
|
||||
$endpoints[] = IcingaEndpoint::create($props);
|
||||
$zones[] = IcingaZone::create(array(
|
||||
'object_name' => $name
|
||||
))->setEndpointList(array($name));
|
||||
'object_name' => $name,
|
||||
'parent' => $this->getMasterZoneName()
|
||||
), $this->connection)->setEndpointList(array($name));
|
||||
}
|
||||
|
||||
$this->createFileForObjects('endpoint', $endpoints);
|
||||
|
Loading…
x
Reference in New Issue
Block a user