Skip to content

Commit 4465aae

Browse files
committed
library: remove unnecessary lines from cloudflare_dns_custom
1 parent 4deed3f commit 4465aae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/cloudflare_dns_custom.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,6 @@ def ensure_dns_record(self, **kwargs):
824824
if ('data' in new_record) and ('data' in cur_record):
825825
if (cur_record['data'] != new_record['data']):
826826
do_update = True
827-
if (cur_record['name'] != new_record['name']):
828-
do_update = True
829827
if (params['type'] == 'CNAME') and (cur_record['content'] != new_record['content']):
830828
do_update = True
831829
if do_update:

0 commit comments

Comments
 (0)