mirror of
https://github.com/thegeeklab/corenetworks.git
synced 2024-11-14 06:40:39 +00:00
add fake update action fit CNAME records
This commit is contained in:
parent
4b563288fc
commit
e8558d9daf
@ -1,2 +1,2 @@
|
||||
* ENHANCEMENT
|
||||
* add `expires` timestamp to the BasicAuth object
|
||||
* BUGFIX
|
||||
* add fake update action fit CNAME records
|
||||
|
@ -225,6 +225,8 @@ class CoreNetworks():
|
||||
name=r["name"]
|
||||
)
|
||||
)
|
||||
if params["type"] == "CNAME" and r["data"] != params["data"]:
|
||||
self._delete_record_raw(zone, params=r)
|
||||
|
||||
curr = copy.deepcopy(params)
|
||||
curr.pop("ttl")
|
||||
|
Loading…
Reference in New Issue
Block a user