1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Use MIN_TTL, not 120 literal

This commit is contained in:
Ross McFarland
2018-02-19 11:40:32 -08:00
parent 886a26bc6f
commit 4b44ab14b1

View File

@@ -260,7 +260,7 @@ class CloudflareProvider(BaseProvider):
if isinstance(change, Update):
existing = change.existing.data
new = change.new.data
new['ttl'] = max(120, new['ttl'])
new['ttl'] = max(self.MIN_TTL, new['ttl'])
if new == existing:
return False