From 7280c4171a91aa5236e38f92894f2d269076ab83 Mon Sep 17 00:00:00 2001 From: "Akihiko (Aki) Kuroda" <16141898+akihikokuroda@users.noreply.github.com> Date: Wed, 14 Aug 2024 11:44:30 -0400 Subject: [PATCH] fix job failing (#1455) --- gateway/api/schedule.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gateway/api/schedule.py b/gateway/api/schedule.py index 6b37a089e..ec1e19eb6 100644 --- a/gateway/api/schedule.py +++ b/gateway/api/schedule.py @@ -80,6 +80,7 @@ def execute_job(job: Job) -> Job: kill_ray_cluster(compute_resource.title) compute_resource.delete() job.status = Job.FAILED + job.compute_resource = None job.logs += "\nCompute resource was not found." span.set_attribute("job.status", job.status)