GCP resource representation uses "rrdatas" property instead of "target" (#51479)

pull/51517/head
bverschueren 6 years ago committed by ansibot
parent 3cfe08b191
commit f99aaa7144

@ -326,7 +326,7 @@ def is_different(module, response):
# Remove unnecessary properties from the response.
# This is for doing comparisons with Ansible's current parameters.
def response_to_hash(module, response):
return {u'name': response.get(u'name'), u'type': response.get(u'type'), u'ttl': response.get(u'ttl'), u'rrdatas': response.get(u'target')}
return {u'name': response.get(u'name'), u'type': response.get(u'type'), u'ttl': response.get(u'ttl'), u'rrdatas': response.get(u'rrdatas')}
def updated_record(module):

Loading…
Cancel
Save