Fix bug adding None TTL to route53 responses.

This commit is contained in:
Steve Pulec 2018-03-29 10:08:39 -04:00
parent f18259d49e
commit 7737832bf3

View File

@ -140,7 +140,9 @@ class RecordSet(BaseModel):
{% if record_set.region %}
<Region>{{ record_set.region }}</Region>
{% endif %}
<TTL>{{ record_set.ttl }}</TTL>
{% if record_set.ttl %}
<TTL>{{ record_set.ttl }}</TTL>
{% endif %}
<ResourceRecords>
{% for record in record_set.records %}
<ResourceRecord>