IcingaServiceSet: fix rendering of Sets attached..
...to single Hosts fixes #1789
This commit is contained in:
parent
89d4af564e
commit
429be2dd76
|
@ -295,7 +295,9 @@ class IcingaServiceSet extends IcingaObject implements ExportInterface
|
|||
if (in_array($host, $this->getBlacklistedHostnames($service))) {
|
||||
continue;
|
||||
}
|
||||
$service->set('host_id', $this->get('host_id'));
|
||||
$service->set('object_type', 'object');
|
||||
$service->set('use_var_overrides', 'y');
|
||||
$service->set('host_id', $hostId);
|
||||
} else {
|
||||
// Service set template without assign filter or host
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue