mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
GCP resource representation uses "rrdatas" property instead of "target" (#51479)
This commit is contained in:
parent
3cfe08b191
commit
f99aaa7144
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue