From d2c24f98d477e8b1367ddae0ee65d1b514aaf9ba Mon Sep 17 00:00:00 2001 From: Ali Adil Date: Thu, 25 Aug 2016 19:09:17 +0000 Subject: Update reset-status docstring Added more information for reset-status docstring. Change-Id: I4ab194029e5bfbca990984be707f727081bf5907 --- troveclient/v1/shell.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/troveclient/v1/shell.py b/troveclient/v1/shell.py index eb3a96e..debf5d8 100644 --- a/troveclient/v1/shell.py +++ b/troveclient/v1/shell.py @@ -384,7 +384,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) -- cgit v1.2.1