mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-05-31 05:59:10 -07:00
Ansible Redis (#173)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
6cbacba697
commit
918acf47d4
6 changed files with 118 additions and 135 deletions
|
@ -336,7 +336,7 @@ def wait_for_operation(module, response):
|
|||
def wait_for_completion(status, op_result, module):
|
||||
op_id = navigate_hash(op_result, ['name'])
|
||||
op_uri = async_op_url(module, {'op_id': op_id})
|
||||
if not status:
|
||||
while not status:
|
||||
raise_if_errors(op_result, ['error'], module)
|
||||
time.sleep(1.0)
|
||||
op_result = fetch_resource(module, op_uri)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue