Skip to content
Snippets Groups Projects
Commit d7c428bf authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

make reacquire system not try to launch monitor processes for missing directories

parent 34259a3d
No related branches found
No related tags found
4 merge requests!1006catch qa fail case when request has mutable version,!1005fix pass/fail with mutable version bug,!1003fix typo in inspector endpoint,!1001make reacquire system not try to launch monitor processes for missing directories
Pipeline #6006 failed
This commit is part of merge request !1003. Comments created here will be created in the context of that merge request.
......@@ -137,6 +137,7 @@ class MonitorRecover:
f"Results directory {results_dir} for request #{wf_request.workflow_request_id} "
f"is not a directory! Skipping."
)
# signal not a directory with current location
return Path(".")
@staticmethod
......@@ -148,7 +149,8 @@ class MonitorRecover:
:param wf_request: The WorkflowRequest to update
:return:
"""
if logfile == Path.cwd():
# because for some reason these are not the same....
if logfile == Path.cwd() or logfile == Path("."):
return
logger.info("Running wf_monitor.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment