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

force clean up process when no_clean_up is set true
intel-update-authors
Yancey 7 years ago committed by GitHub
commit faa7e48592
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -640,6 +640,7 @@ def start_server(args):
elif request_path == "/cleanup":
self._set_headers()
logging.info("Received request to cleanup cluster")
args.no_clean_up = False
cleanup(args.task_name)
self.wfile.write("cleanup in progress")

Loading…
Cancel
Save