summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-11 01:34:25 +0000
committerGerrit Code Review <review@openstack.org>2017-06-11 01:34:25 +0000
commit3ef2b4212fe91f78eb32c19e7151761d0ef7b09f (patch)
treeadbb773ee5d9f2ce7c300a1b4225e05d2dbc73ce
parente6afe7f7171320b2f5324c04aa16f8b7cc928d99 (diff)
parentd2c24f98d477e8b1367ddae0ee65d1b514aaf9ba (diff)
downloadpython-troveclient-3ef2b4212fe91f78eb32c19e7151761d0ef7b09f.tar.gz
Merge "Update reset-status docstring"
-rw-r--r--troveclient/v1/shell.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/troveclient/v1/shell.py b/troveclient/v1/shell.py
index afdce10..a4fcc2f 100644
--- a/troveclient/v1/shell.py
+++ b/troveclient/v1/shell.py
@@ -421,7 +421,10 @@ def do_force_delete(cs, args):
help=_('ID or name of the instance.'))
@utils.service_type('database')
def do_reset_status(cs, args):
- """Set the status to NONE."""
+ """Set the task status of an instance to NONE if the instance is in BUILD
+ or ERROR state. Resetting task status of an instance in BUILD state will
+ allow the instance to be deleted.
+ """
instance = _find_instance(cs, args.instance)
cs.instances.reset_status(instance=instance)