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:
@@ -419,6 +419,11 @@ class CloudflareProvider(BaseProvider):
|
|||||||
existing.update({
|
existing.update({
|
||||||
'ttl': new['ttl']
|
'ttl': new['ttl']
|
||||||
})
|
})
|
||||||
|
elif change.new._type == 'URLFWD':
|
||||||
|
existing = deepcopy(change.existing.data)
|
||||||
|
existing.update({
|
||||||
|
'ttl': new['ttl']
|
||||||
|
})
|
||||||
else:
|
else:
|
||||||
existing = change.existing.data
|
existing = change.existing.data
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user