This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
octodns
mirror of
https://github.com/octodns/octodns
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
52
Wiki
Activity
Browse Source
Adding URLFWD ttl exception handling for cloudflare
pull/722/head
Brian E Clow
4 years ago
parent
8ca7070186
commit
a9fe3b5398
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save