Skip to content

Commit

Permalink
Update lib/galaxy/jobs/runners/kubernetes.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nuwan Goonasekera <[email protected]>
  • Loading branch information
2 people authored and mvdbeek committed Dec 17, 2024
1 parent c311092 commit df1bb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/runners/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def check_watched_item(self, job_state):
# It is possible that k8s didn't account for the status of the pods
# and they are in the uncountedTerminatedPods status. In this
# case we also need to wait a moment
if len(job.obj["status"]) == 0 or in job.obj["status"].get("uncountedTerminatedPods"):
if len(job.obj["status"]) == 0 or job.obj["status"].get("uncountedTerminatedPods"):
return job_state
if "succeeded" in job.obj["status"]:
succeeded = job.obj["status"]["succeeded"]
Expand Down

0 comments on commit df1bb9a

Please sign in to comment.