fix: add trim for script in notify
This commit is contained in:
parent
81dc07a29c
commit
c3c1765b11
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ vrrp_instance {{ vrrp_instance_name }} {
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if 'notify' in vrrp_instance %}
|
{% if 'notify' in vrrp_instance %}
|
||||||
{% for state, script in vrrp_instance.notify.items() %}
|
{% for state, script in vrrp_instance.notify.items() %}
|
||||||
notify_{{ state }} "{{ script }}"
|
notify_{{ state }} "{{ script|trim }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue