Skip to content

Commit

Permalink
fix job failing (#1455)
Browse files Browse the repository at this point in the history
  • Loading branch information
akihikokuroda authored Aug 14, 2024
1 parent 23e3d53 commit 7280c41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gateway/api/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7280c41

Please sign in to comment.