mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-11 21:30:28 -07:00
Ansible: SQL Users (#16)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
c9fedfb626
commit
66cfeb1147
1 changed files with 0 additions and 7 deletions
|
@ -726,13 +726,6 @@ def return_if_object(module, response, kind, allow_not_found=False):
|
|||
|
||||
return result
|
||||
|
||||
if navigate_hash(result, ['error', 'errors']):
|
||||
module.fail_json(msg=navigate_hash(result, ['error', 'errors']))
|
||||
if result['kind'] != kind:
|
||||
module.fail_json(msg="Incorrect result: {kind}".format(**result))
|
||||
|
||||
return result
|
||||
|
||||
|
||||
def is_different(module, response):
|
||||
request = resource_to_request(module)
|
||||
|
|
Loading…
Add table
Reference in a new issue