Skip to content

Commit

Permalink
fix(salt-lint): fix all violations
Browse files Browse the repository at this point in the history
```
[206] Jinja variables should have spaces before and after: '{{ var_name }}'
snmp/macros.jinja:18
{{ mode }}community     {{ community }}       {{ src }}{{' -V ' + view if view else ''}}

[202] Jinja statement should have spaces before and after: '{% statement %}'
snmp/macros.jinja:21
{% endmacro-%}
```
  • Loading branch information
myii committed Jan 14, 2022
1 parent 72115be commit 484af29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snmp/macros.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
{%- set source = [source] %}
{%- endif %}
{%- for src in source -%}
{{ mode }}community {{ community }} {{ src }}{{' -V ' + view if view else ''}}
{{ mode }}community {{ community }} {{ src }}{{ ' -V ' + view if view else '' }}
{% endfor %}
{%- endfor -%}
{% endmacro-%}
{% endmacro -%}

0 comments on commit 484af29

Please sign in to comment.