mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-08-08 08:00:37 +00:00
GetVirtualServers and GetRealServers each build a result slice by appending one entry per source element (`ipvsSvcs` and `dsts` respectively). Pass the source length as the make() capacity so the slice does not need to be regrown during the loop. No behavior change.