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…
Reference in New Issue