mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-08-08 15:50:45 +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.
9.0 KiB
9.0 KiB