Skip to content

Commit

Permalink
fix(isns.tmpl): fix salt-lint errors
Browse files Browse the repository at this point in the history
```bash
Examining iscsi/isns/config/files/default/isns.tmpl of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
iscsi/isns/config/files/default/isns.tmpl:16
{{shift}}{{ key }} = {{ value }}
```
  • Loading branch information
myii committed Oct 10, 2019
1 parent d3e4aa2 commit fd87bf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iscsi/isns/config/files/default/isns.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

{%- macro isns(key, value, spaces=0, last=False) -%}
{%- set shift = spaces * ' ' -%}
{{shift}}{{ key }} = {{ value }}
{{ shift }}{{ key }} = {{ value }}
{%- endmacro -%}

{{ readconf(data, 0) }}
Expand Down

0 comments on commit fd87bf8

Please sign in to comment.