def do_reset_stack_status(): print(_("Warning: this command is potentially destructive and only " "intended to recover from specific crashes.")) print(_("It is advised to shutdown all Heat engines beforehand.")) print(_("Continue ? [y/N]")) data = moves.input() if not data.lower().startswith('y'): return ctxt = context.get_admin_context() db_api.reset_stack_status(ctxt, CONF.command.stack_id)
def do_reset_stack_status(): print( _("Warning: this command is potentially destructive and only " "intended to recover from specific crashes.")) print(_("It is advised to shutdown all Heat engines beforehand.")) print(_("Continue ? [y/N]")) data = moves.input() if not data.lower().startswith('y'): return ctxt = context.get_admin_context() db_api.reset_stack_status(ctxt, CONF.command.stack_id)