Skip to content

Commit 1255777

Browse files
authored
Merge pull request #11 from converged-computing/wrap-failed-jobs
failed jobs need to be wrapped in job
2 parents b18bd70 + 536978f commit 1255777

File tree

1 file changed

+1
-1
lines changed
  • python/state_machine_operator/tracker/kubernetes

1 file changed

+1
-1
lines changed

python/state_machine_operator/tracker/kubernetes/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def list_jobs_by_status(label_name="app", label_value=None):
6565

6666
# Failure means we finished with failed condition
6767
if job.status.failed == 1:
68-
states["failed"].append(job)
68+
states["failed"].append(Job(job))
6969
continue
7070

7171
# Not active, and not finished is queued

0 commit comments

Comments
 (0)