IcingaHost: make sure that an Endpoint has a...

...Db connection
This commit is contained in:
Thomas Gelf 2017-08-11 17:15:08 +02:00
parent e683c99a1b
commit 1356733332
1 changed files with 1 additions and 1 deletions

View File

@ -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,