Commit 0aa320de authored by Łukasz Nowak's avatar Łukasz Nowak

fix "fix "caddy-frontend: Publish only active slaves from main partition""

Unfortunately slave_title was put by mistake, it supposed to be slave_reference.
parent eda5f234
...@@ -26,7 +26,7 @@ md5sum = 6fd023f0d29421d8579f0b3351473bb0 ...@@ -26,7 +26,7 @@ md5sum = 6fd023f0d29421d8579f0b3351473bb0
[template-apache-replicate] [template-apache-replicate]
filename = instance-apache-replicate.cfg.in filename = instance-apache-replicate.cfg.in
md5sum = c9d667f8491d2efe41acc4dbd3b78b87 md5sum = 5c5462ccc327fe109e0c102f0d3e7e53
[template-slave-list] [template-slave-list]
filename = templates/apache-custom-slave-list.cfg.in filename = templates/apache-custom-slave-list.cfg.in
......
...@@ -228,7 +228,7 @@ custom-group = ${dynamic-publish-slave-information:rendered} ...@@ -228,7 +228,7 @@ custom-group = ${dynamic-publish-slave-information:rendered}
{% for slave_instance in slave_instance_list %} {% for slave_instance in slave_instance_list %}
{# Provide a list of slave titles send by master, in order to filter out already destroyed slaves #} {# Provide a list of slave titles send by master, in order to filter out already destroyed slaves #}
{# Note: This functionality is not yet covered by tests, please modify with care #} {# Note: This functionality is not yet covered by tests, please modify with care #}
{% do active_slave_instance_list.append(slave_instance['slave_title']) %} {% do active_slave_instance_list.append(slave_instance['slave_reference']) %}
{% endfor %} {% endfor %}
active-slave-instance-list = {{ json_module.dumps(active_slave_instance_list) }} active-slave-instance-list = {{ json_module.dumps(active_slave_instance_list) }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment