templates: fix typo in string/mapping check
A small typo that appears to have been missed during review, which can cause strings (for example) to be iterated over rather than included directly. Change-Id: Id1a9d7088f97b709c46d5f4563c0c498604f999e
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% for section, params in item.systemd_overrides.items() %}
|
||||
[{{ section }}]
|
||||
{% for key, value in params.items() %}
|
||||
{% if value is iterable and (var is not string and var is not mapping) %}
|
||||
{% if value is iterable and (value is not string and value is not mapping) %}
|
||||
{% for i in value %}
|
||||
{{ key }} = {{ i }}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user