response_to_hash should use api_name (#181)

<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
This commit is contained in:
The Magician 2019-01-30 14:11:08 -08:00 committed by Alex Stephen
commit 6c4fae3b34
5 changed files with 6 additions and 6 deletions

View file

@ -305,7 +305,7 @@ def is_different(module, response):
# This is for doing comparisons with Ansible's current parameters.
def response_to_hash(module, response):
return {
u'projectNumber': response.get(u'number'),
u'projectNumber': response.get(u'projectNumber'),
u'lifecycleState': response.get(u'lifecycleState'),
u'name': response.get(u'name'),
u'createTime': response.get(u'createTime'),