Skip to content

Commit

Permalink
Added missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
BitTheByte committed Sep 18, 2023
1 parent 55398ea commit 3a290a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask_kubernetes/operator/controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ async def daskworkergroup_replica_update(
if workers_needed < 0:
pending_workers = []
for worker in current_workers:
if not worker.ready() and len(pending_workers) <= -workers_needed:
if not await worker.ready() and len(pending_workers) <= -workers_needed:
pending_workers.append(worker)

if pending_workers:
Expand Down

0 comments on commit 3a290a6

Please sign in to comment.