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

Adding URLFWD ttl exception handling for cloudflare

This commit is contained in:
Brian E Clow
2021-07-23 15:24:09 -07:00
parent 8ca7070186
commit a9fe3b5398

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