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

(cherry picked from commit d5662df695)
pull/43532/merge
Stefan Prietl 6 years ago committed by Matt Clay
parent 0730eae41b
commit c5b49fe4a3

@ -94,7 +94,7 @@ def _action_url(server_id):
def _wait(timeout, cloud, server, action, module, sdk):
"""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 waiting for server to complete %s" % action):
try:

Loading…
Cancel
Save