Skip to content

Commit

Permalink
Is this even necessary?
Browse files Browse the repository at this point in the history
  • Loading branch information
BitTheByte committed Sep 18, 2023
1 parent 3c2aaec commit 2f98f6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dask_kubernetes/operator/controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,9 @@ async def daskworkergroup_replica_update(
len(kube_pods) <= 1
), "Deployment cannot have more than 1 replica pod"

if not kube_pods:
continue

worker_pod = kube_pods[0]
if (
worker_pod.status.phase
Expand Down

0 comments on commit 2f98f6d

Please sign in to comment.