cloudflare: fix CNAME not changed (#33939)
This commit is contained in:
parent
fcd3db27f9
commit
c97030cc44
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ class CloudflareAPI(object):
|
||||||
if ('data' in new_record) and ('data' in cur_record):
|
if ('data' in new_record) and ('data' in cur_record):
|
||||||
if (cur_record['data'] > new_record['data']) - (cur_record['data'] < new_record['data']):
|
if (cur_record['data'] > new_record['data']) - (cur_record['data'] < new_record['data']):
|
||||||
do_update = True
|
do_update = True
|
||||||
if (type == 'CNAME') and (cur_record['content'] != new_record['content']):
|
if (params['type'] == 'CNAME') and (cur_record['content'] != new_record['content']):
|
||||||
do_update = True
|
do_update = True
|
||||||
if do_update:
|
if do_update:
|
||||||
if self.module.check_mode:
|
if self.module.check_mode:
|
||||||
|
|
Loading…
Reference in a new issue