mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-27 13:21:24 -07:00
Bug fixes for GCP modules (#51577)
This commit is contained in:
parent
ee06a8c320
commit
cdb4c9b272
23 changed files with 24 additions and 24 deletions
|
@ -1158,7 +1158,7 @@ def wait_for_completion(status, op_result, module):
|
|||
while status != 'DONE':
|
||||
raise_if_errors(op_result, ['error', 'errors'], module)
|
||||
time.sleep(1.0)
|
||||
op_result = fetch_resource(module, op_uri, 'compute#operation')
|
||||
op_result = fetch_resource(module, op_uri, 'compute#operation', False)
|
||||
status = navigate_hash(op_result, ['status'])
|
||||
return op_result
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue