Fix bug adding None TTL to route53 responses.
This commit is contained in:
parent
f18259d49e
commit
7737832bf3
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user