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