Fix cloudflare_dns proxied change detection (#43096)

Resolves #35190
This commit is contained in:
Andreas Olsson 2018-07-27 05:57:05 +02:00 committed by Abhijeet Kasurde
commit ab41fb9cd4
3 changed files with 302 additions and 0 deletions

View file

@ -557,6 +557,8 @@ class CloudflareAPI(object):
do_update = True
if (params['priority'] is not None) and ('priority' in cur_record) and (cur_record['priority'] != params['priority']):
do_update = True
if ('proxied' in new_record) and ('proxied' in cur_record) and (cur_record['proxied'] != params['proxied']):
do_update = True
if ('data' in new_record) and ('data' in cur_record):
if (cur_record['data'] != new_record['data']):
do_update = True