Update reset-status docstring

Added more information for reset-status docstring.

Change-Id: I4ab194029e5bfbca990984be707f727081bf5907
This commit is contained in:
Ali Adil 2016-08-25 19:09:17 +00:00 committed by Ali Asgar Adil
parent e2a2263e19
commit d2c24f98d4
1 changed files with 4 additions and 1 deletions

View File

@ -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)