mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-06-02 15:09:11 -07:00
Spanner Fixes (#301)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
a29f611cf6
commit
72e4cc7214
7 changed files with 47 additions and 14 deletions
|
@ -1139,7 +1139,7 @@ def wait_for_operation(module, response):
|
|||
return {}
|
||||
status = navigate_hash(op_result, ['status'])
|
||||
wait_done = wait_for_completion(status, op_result, module)
|
||||
return fetch_resource(module, navigate_hash(wait_done, ['targetLink']), 'compute#instance')
|
||||
return decode_response(fetch_resource(module, navigate_hash(wait_done, ['targetLink']), 'compute#instance'), module)
|
||||
|
||||
|
||||
def wait_for_completion(status, op_result, module):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue