Skip to content

Commit

Permalink
Make wait_for_pod disable timeout on 0
Browse files Browse the repository at this point in the history
  • Loading branch information
johannkm committed Jul 6, 2022
1 parent 9b7bb36 commit cf02174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_modules/libraries/dagster-k8s/dagster_k8s/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def wait_for_pod(
).items
pod = pods[0] if pods else None

if self.timer() - start > wait_timeout:
if wait_timeout and self.timer() - start > wait_timeout:
raise DagsterK8sError(
"Timed out while waiting for pod to become ready with pod info: %s" % str(pod)
)
Expand Down

0 comments on commit cf02174

Please sign in to comment.