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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user