fix: Make zone name parameter optional in template

This commit is contained in:
Daniel Akulenok
2022-10-04 12:53:45 +02:00
committed by Daniel Akulenok
parent 986a6843e9
commit 7e8d3eb6f5

View File

@@ -29,7 +29,7 @@ update-policy {
{{ policy.permission -}} {{ policy.permission -}}
{{ ' ' + policy.identity -}} {{ ' ' + policy.identity -}}
{{ ' ' + policy.ruletype -}} {{ ' ' + policy.ruletype -}}
{{ ' ' + policy.name -}} {{ ' ' + policy.name if policy.name is defined -}}
{{ ' ' + policy.types -}}; {{ ' ' + policy.types -}};
{% endfor %} {% endfor %}
{% endfilter %}}; {% endfilter %}};