Skip to content

Commit

Permalink
Consistency changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Dec 14, 2022
1 parent a5cc61e commit 11f3059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/etc/keepalived/keepalived.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ vrrp_instance {{ key }} {
{% endfor %}
}

{% if value.virtual_routes %}
{% if value.virtual_routes is defined %}
virtual_routes {
{% for virtual_route in value.virtual_routes %}
{% for virtual_route in value.virtual_routes | default([]) %}
{{ virtual_route }}
{% endfor %}
}
Expand Down

0 comments on commit 11f3059

Please sign in to comment.