mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07:00
Fix actions and wait in os_server_action module (#43504)
* Fix call to sdk.iterate_timeout in os_server_action * Correct indentation for several actions in os_server_action
This commit is contained in:
parent
b20d903cc4
commit
d5662df695
1 changed files with 19 additions and 19 deletions
|
@ -94,7 +94,7 @@ def _action_url(server_id):
|
||||||
def _wait(timeout, cloud, server, action, module, sdk):
|
def _wait(timeout, cloud, server, action, module, sdk):
|
||||||
"""Wait for the server to reach the desired state for the given action."""
|
"""Wait for the server to reach the desired state for the given action."""
|
||||||
|
|
||||||
for count in sdk.utils._iterate_timeout(
|
for count in sdk.utils.iterate_timeout(
|
||||||
timeout,
|
timeout,
|
||||||
"Timeout waiting for server to complete %s" % action):
|
"Timeout waiting for server to complete %s" % action):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue