We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfe834d commit 10b446eCopy full SHA for 10b446e
nginx/libtofs.jinja
@@ -16,7 +16,7 @@
16
'<tplroot>:tofs:files_switch' this is the ordered list of grains to
17
use as selector switch of the directories under
18
"<path_prefix>/files"
19
- * indent_witdh: indentation of the result value to conform to YAML
+ * indent_width: indentation of the result value to conform to YAML
20
* use_subpath: defaults to `False` but if set, lookup the source file
21
recursively from the current state directory up to `tplroot`
22
@@ -82,7 +82,7 @@
82
) %}
83
{#- Append an empty value to evaluate as `default` in the loop below #}
84
{%- if '' not in fsl %}
85
- {%- do fsl.append('') %}
+ {%- set fsl = fsl + [''] %}
86
{%- endif %}
87
{%- for fs in fsl %}
88
{%- for src_file in src_files %}
0 commit comments