Commit 0aa320de by Ł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.
1 parent eda5f234
......@@ -26,7 +26,7 @@ md5sum = 6fd023f0d29421d8579f0b3351473bb0
[template-apache-replicate]
filename = instance-apache-replicate.cfg.in
md5sum = c9d667f8491d2efe41acc4dbd3b78b87
md5sum = 5c5462ccc327fe109e0c102f0d3e7e53
[template-slave-list]
filename = templates/apache-custom-slave-list.cfg.in
......
......@@ -228,7 +228,7 @@ custom-group = ${dynamic-publish-slave-information:rendered}
{% for slave_instance in slave_instance_list %}
{# 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 #}
{% do active_slave_instance_list.append(slave_instance['slave_title']) %}
{% do active_slave_instance_list.append(slave_instance['slave_reference']) %}
{% endfor %}
active-slave-instance-list = {{ json_module.dumps(active_slave_instance_list) }}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!