From 8e7447769a2ea3e4610a345ec65625145dd599e2 Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Tue, 17 Sep 2024 09:35:17 +0000 Subject: [PATCH] Fix loadBalancer attribute name --- kr8s/_objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kr8s/_objects.py b/kr8s/_objects.py index 472a83a7..cb7497f5 100644 --- a/kr8s/_objects.py +++ b/kr8s/_objects.py @@ -1343,7 +1343,7 @@ async def ready(self) -> bool: # If the service is of type LoadBalancer, check if it has endpoints if ( self.spec.type == "LoadBalancer" - and len(self.status.load_balancer.ingress or []) == 0 + and len(self.status.loadBalancer.ingress or []) == 0 ): return False