Skip to content

Commit

Permalink
removed old code
Browse files Browse the repository at this point in the history
  • Loading branch information
kferrone committed Nov 8, 2024
1 parent 3138f04 commit 5dc2efa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/duplo_resource/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ def check_pod_faults(pod, faults):
if fsct > 0:
d = "\n".join([f["Description"] for f in fs])
raise DuploFailedResource(f"Pod {pod['InstanceId']} raised {fsct} faults.\n{d}")
# for f in faults:
# if f["Resource"].get("Name", None) == pod["InstanceId"]:
# raise DuploFailedResource(f"Pod {pod['InstanceId']} raised a fault.\n{f['Description']}")
def wait_check():
nonlocal a, s, f
job = self.find(name)
Expand Down

0 comments on commit 5dc2efa

Please sign in to comment.