mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaService: use string helper for assignments
This commit is contained in:
parent
77c915c897
commit
58441b88ad
@ -139,10 +139,10 @@ class IcingaService extends IcingaObject
|
|||||||
return parent::renderAssignments();
|
return parent::renderAssignments();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: use assignment renderer, escape host
|
// TODO: use assignment renderer?
|
||||||
$filter = sprintf(
|
$filter = sprintf(
|
||||||
'assign where "%s" in host.templates',
|
'assign where %s in host.templates',
|
||||||
$this->host
|
c::renderString($this->host)
|
||||||
);
|
);
|
||||||
|
|
||||||
return "\n " . $filter . "\n";
|
return "\n " . $filter . "\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user