提交 5eb4c3aa 编写于 作者: X Xi Chen

force clean up process when no_clean_up is set true

上级 e7353596
...@@ -640,6 +640,7 @@ def start_server(args): ...@@ -640,6 +640,7 @@ def start_server(args):
elif request_path == "/cleanup": elif request_path == "/cleanup":
self._set_headers() self._set_headers()
logging.info("Received request to cleanup cluster") logging.info("Received request to cleanup cluster")
args.no_clean_up = False
cleanup(args.task_name) cleanup(args.task_name)
self.wfile.write("cleanup in progress") self.wfile.write("cleanup in progress")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册