Skip to content

Commit

Permalink
Fix whitespace in (rare) case of no vlan
Browse files Browse the repository at this point in the history
  • Loading branch information
jbemmel committed Jan 10, 2025
1 parent c659c4b commit 344d97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netsim/ansible/templates/vlan/cumulus_nvue.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
bridge:
domain:
br_default:
{% if i.vlan.access_id is defined %}
{%- if i.vlan.access_id is defined +%}
{% if 'native' in i.vlan %}
untagged: {{ vlans[i.vlan.native].id }}
{% else %}
Expand All @@ -34,6 +34,6 @@
{% for v in i.vlan.trunk_id|sort %}
'{{ v }}': {}
{% endfor %}
{% else -%} {}
{% else %} {}
{% endif %}
{% endfor %}

0 comments on commit 344d97e

Please sign in to comment.