mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
IcingaConfig: no autoendpoint for existing ones
This commit is contained in:
parent
6d8dc41bab
commit
e2fad6eb79
@ -357,6 +357,7 @@ throw $e;
|
||||
if ($host->object_type !== 'object') continue;
|
||||
if ($host->getResolvedProperty('has_agent') !== 'y') continue;
|
||||
$name = $host->object_name;
|
||||
if (IcingaEndpoint::exists($name, $this->connection)) continue;
|
||||
|
||||
$props = array(
|
||||
'object_name' => $name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user