mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
IcingaService: do not hardcode override template
This commit is contained in:
parent
8dd7fcd13b
commit
d44c06fce0
@ -167,7 +167,10 @@ class IcingaService extends IcingaObject
|
||||
|
||||
protected function renderImportHostVarOverrides()
|
||||
{
|
||||
return "\n" . ' import "host var overrides (Director)"' . "\n";
|
||||
return sprintf(
|
||||
"\n import \"%s\"\n",
|
||||
$this->connection->settings()->override_services_templatename
|
||||
);
|
||||
}
|
||||
|
||||
protected function renderCustomExtensions()
|
||||
|
Loading…
x
Reference in New Issue
Block a user