Skip to content

Commit

Permalink
Use async_refresh() instead of private _refresh()
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Apr 18, 2024
1 parent 8405b87 commit 14f91d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask_kubernetes/operator/_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 14f91d6

Please sign in to comment.