Browse Source

Use MIN_TTL, not 120 literal

pull/205/head
Ross McFarland 8 years ago
parent
commit
4b44ab14b1
No known key found for this signature in database GPG Key ID: 61C10C4FC8FE4A89
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      octodns/provider/cloudflare.py

+ 1
- 1
octodns/provider/cloudflare.py 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


Loading…
Cancel
Save