From 14f91d63927040204d302a26b9bc7d8362b1e9bf Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Thu, 18 Apr 2024 20:54:45 +0100 Subject: [PATCH] Use async_refresh() instead of private _refresh() --- dask_kubernetes/operator/_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dask_kubernetes/operator/_objects.py b/dask_kubernetes/operator/_objects.py index 79b96f333..da34a44a1 100644 --- a/dask_kubernetes/operator/_objects.py +++ b/dask_kubernetes/operator/_objects.py @@ -71,7 +71,7 @@ async def scheduler_service(self) -> Service: return services[0] async def ready(self) -> bool: - await self._refresh() + await self.async_refresh() return ( "status" in self.raw and "phase" in self.status