Skip to content

Commit 6957fb3

Browse files
committed
Trivial: Fix wrong doc for wait_for_status().
Two trivial fixes: 1. docs for parameters are not sorted correctly 2. missing doc for a parameter Change-Id: I0cfb65e0f897c391b9b6e7225251e88855b07a56
1 parent 65e6c7b commit 6957fb3

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
@@ -305,8 +305,9 @@ def wait_for_status(status_f,
305305
306306
:param status_f: a status function that takes a single id argument
307307
:param res_id: the resource id to watch
308-
:param success_status: a list of status strings for successful completion
309308
:param status_field: the status attribute in the returned resource object
309+
:param success_status: a list of status strings for successful completion
310+
:param error_status: a list of status strings for error
310311
:param sleep_time: wait this long (seconds)
311312
:param callback: called per sleep cycle, useful to display progress
312313
:rtype: True on success

0 commit comments

Comments
 (0)