Skip to content

Commit 42a5909

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Trivial: Fix wrong doc for wait_for_status()."
2 parents 46e0617 + 6957fb3 commit 42a5909

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

openstackclient/common/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,9 @@ def wait_for_status(status_f,
304304
305305
:param status_f: a status function that takes a single id argument
306306
:param res_id: the resource id to watch
307-
:param success_status: a list of status strings for successful completion
308307
:param status_field: the status attribute in the returned resource object
308+
:param success_status: a list of status strings for successful completion
309+
:param error_status: a list of status strings for error
309310
:param sleep_time: wait this long (seconds)
310311
:param callback: called per sleep cycle, useful to display progress
311312
:rtype: True on success

0 commit comments

Comments
 (0)