Skip to content

Commit

Permalink
fix(isns): fix jinja in config file template
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Oct 4, 2019
1 parent 1ef79ec commit 8dfc993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iscsi/isns/config/files/default/isns.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Your changes will be overwritten.
########################################################################

{% if data and component and provider -%}
{% if data and component -%}

{%- macro readconf(outdict, spaces=0) -%}
{%- for key, value in outdict.items() -%}
Expand All @@ -16,6 +16,6 @@
{{shift}}{{ key }} = {{ value }}
{%- endmacro -%}

{{ readconf(data['isns'], 0) }}
{{ readconf(data, 0) }}

{% endif -%}

0 comments on commit 8dfc993

Please sign in to comment.