Adjust object-replicator heading within object.conf.j2 template.

The swift-object-auditor logs many complaints of missing
object-replicator configuration, as this section is undefined.

Move the header outside of the == 'swift-object-replicator' check,
so other services will get an empty section to stop complaints.

TrivialFix
Closes-Bug: #1637561
Change-Id: I9c8d960b0c31e448afdeaac5f3d38e1be5ff965d
This commit is contained in:
James McCarthy 2016-10-28 16:38:01 +01:00
parent 198e8d2d6f
commit 790c6b2a9f

View File

@ -23,8 +23,8 @@ use = egg:swift#object
[object-auditor] [object-auditor]
{% endif %} {% endif %}
{% if service_name == 'swift-object-replicator' %}
[object-replicator] [object-replicator]
{% if service_name == 'swift-object-replicator' %}
sync_module = {replication_ip}:{meta}:object sync_module = {replication_ip}:{meta}:object
{% endif %} {% endif %}