Make name optional

This commit is contained in:
Daniel Akulenok
2022-10-04 12:53:45 +02:00
committed by Daniel Akulenok
parent d4f7f5792c
commit b29e6345a2

View File

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