summaryrefslogtreecommitdiff
path: root/openstackclient/common/utils.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-11-23 06:07:37 +0000
committerGerrit Code Review <review@openstack.org>2015-11-23 06:07:37 +0000
commit42a5909f6a6fa50726799e8220f8722f2b0a016f (patch)
tree1cc0944b8414f73d306e5b889dfb0d22879ffd20 /openstackclient/common/utils.py
parent46e061785f06c64161f3a87b3cc4f9071700d5de (diff)
parent6957fb3ee7128bcabb5324bfe6f2b02a7f0dd534 (diff)
downloadpython-openstackclient-42a5909f6a6fa50726799e8220f8722f2b0a016f.tar.gz
Merge "Trivial: Fix wrong doc for wait_for_status()."
Diffstat (limited to 'openstackclient/common/utils.py')
-rw-r--r--openstackclient/common/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstackclient/common/utils.py b/openstackclient/common/utils.py
index 91b1e05a..4da8e320 100644
--- a/openstackclient/common/utils.py
+++ b/openstackclient/common/utils.py
@@ -304,8 +304,9 @@ def wait_for_status(status_f,
:param status_f: a status function that takes a single id argument
:param res_id: the resource id to watch
- :param success_status: a list of status strings for successful completion
:param status_field: the status attribute in the returned resource object
+ :param success_status: a list of status strings for successful completion
+ :param error_status: a list of status strings for error
:param sleep_time: wait this long (seconds)
:param callback: called per sleep cycle, useful to display progress
:rtype: True on success