Browse Source

Adding URLFWD ttl exception handling for cloudflare

pull/722/head
Brian E Clow 4 years ago
parent
commit
a9fe3b5398
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      octodns/provider/cloudflare.py

+ 5
- 0
octodns/provider/cloudflare.py View File

@ -419,6 +419,11 @@ class CloudflareProvider(BaseProvider):
existing.update({
'ttl': new['ttl']
})
elif change.new._type == 'URLFWD':
existing = deepcopy(change.existing.data)
existing.update({
'ttl': new['ttl']
})
else:
existing = change.existing.data


Loading…
Cancel
Save