mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
IcingaServiceSet: render custom vars
This commit is contained in:
parent
dedaea0319
commit
354d12946a
@ -101,6 +101,7 @@ class IcingaServiceSet extends IcingaObject
|
||||
$service->setAssignments($this->getAssignments());
|
||||
}
|
||||
|
||||
$service->vars = $this->vars;
|
||||
$service->host_id = $this->host_id;
|
||||
$file->addObject($service);
|
||||
}
|
||||
@ -142,6 +143,7 @@ class IcingaServiceSet extends IcingaObject
|
||||
foreach ($this->getServiceObjects() as $service) {
|
||||
$service->object_type = 'object';
|
||||
$service->host_id = $this->host_id;
|
||||
$service->vars = $this->vars;
|
||||
$file->addLegacyObject($service);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user