Skip to content

Commit

Permalink
Fix loadBalancer attribute name (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson authored Sep 17, 2024
1 parent 5270abd commit 665ff53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kr8s/_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 665ff53

Please # to comment.