Skip to content

Commit

Permalink
Fix: KeyError on Building Scheduler Name in Replica Count Decrease (#872
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jo-migo authored Mar 4, 2024
1 parent 1efdc51 commit b668cc6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dask_kubernetes/operator/controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,9 @@ async def daskworkergroup_replica_update(
if workers_needed < 0:
worker_ids = await retire_workers(
n_workers=-workers_needed,
scheduler_service_name=SCHEDULER_NAME_TEMPLATE.format(cluster_name),
scheduler_service_name=SCHEDULER_NAME_TEMPLATE.format(
cluster_name=cluster_name
),
worker_group_name=name,
namespace=namespace,
logger=logger,
Expand Down

0 comments on commit b668cc6

Please sign in to comment.