Update reset-status docstring
Added more information for reset-status docstring. Change-Id: I4ab194029e5bfbca990984be707f727081bf5907
This commit is contained in:
parent
e2a2263e19
commit
d2c24f98d4
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue