未验证 提交 faa7e485 编写于 作者: Y Yancey 提交者: GitHub

Merge pull request #10275 from putcn/fix-clearn-up

force clean up process when no_clean_up is set true
...@@ -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.
先完成此消息的编辑!
想要评论请 注册