mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 11:28:58 +00:00
The len(endpoints) == 0 check is now redundant since the hasReadyEndpoints check handles this case when the slice is empty, the loop executes zero times, hasReadyEndpoints stays false, and returns "" via the same path.