IcingaHost: make sure that an Endpoint has a...
...Db connection
This commit is contained in:
parent
e683c99a1b
commit
1356733332
|
@ -221,7 +221,7 @@ class IcingaHost extends IcingaObject
|
|||
|
||||
$props['zone_id'] = $this->getSingleResolvedProperty('zone_id');
|
||||
|
||||
$endpoint = IcingaEndpoint::create($props);
|
||||
$endpoint = IcingaEndpoint::create($props, $this->connection);
|
||||
|
||||
$zone = IcingaZone::create(array(
|
||||
'object_name' => $name,
|
||||
|
|
Loading…
Reference in New Issue