diff --git a/templates/consul.json.j2 b/templates/consul.json.j2 index 24c988a..565b08a 100644 --- a/templates/consul.json.j2 +++ b/templates/consul.json.j2 @@ -36,9 +36,9 @@ "*": "{{ consul_dns_service_ttl }}" }, "enable_truncate": {{ "true" if consul_dns_enable_truncate else "false" }}, - {%- if (consul_udp_answer_limit is defined) %} +{% if (consul_udp_answer_limit is defined) %} "udp_answer_limit": {{ consul_udp_answer_limit }}, - {%- endif %} +{% endif %} "only_passing": {{ "true" if consul_dns_only_passing else "false" }} }, {% endif %}