Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Aug 8, 2023
1 parent 7173f63 commit f9a8da6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dask_kubernetes/operator/controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ async def daskautoscaler_adapt(spec, name, namespace, logger, **kwargs):
"dask.org/component": "scheduler",
"dask.org/cluster-name": spec["cluster"],
},
namespace=namespace,
)
if not await scheduler.ready():
raise ValueError()
Expand Down
2 changes: 1 addition & 1 deletion dask_kubernetes/operator/kubecluster/kubecluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ async def _create_cluster(self):
raise SchedulerStartupError(
"Scheduler failed to start.",
"Scheduler Pod logs:",
scheduler_pod.logs(),
await scheduler_pod.logs(),
) from e
self._log("Waiting for scheduler service")
await wait_for_service(f"{self.name}-scheduler", self.namespace)
Expand Down

0 comments on commit f9a8da6

Please sign in to comment.