mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaConfigHelper: add renderExpression
This commit is contained in:
parent
4ca5057038
commit
9f36a3184f
@ -128,6 +128,11 @@ class IcingaConfigHelper
|
||||
|
||||
}
|
||||
|
||||
public static function renderExpression($string)
|
||||
{
|
||||
return "{{\n " . $string . "\n}}";
|
||||
}
|
||||
|
||||
public static function alreadyRendered($string)
|
||||
{
|
||||
return new IcingaConfigRendered($string);
|
||||
|
Loading…
x
Reference in New Issue
Block a user