diff --git a/pkg/proxy/endpointslicecache.go b/pkg/proxy/endpointslicecache.go index 756f3b9d507..b4adee93c42 100644 --- a/pkg/proxy/endpointslicecache.go +++ b/pkg/proxy/endpointslicecache.go @@ -80,7 +80,7 @@ type endpointInfo struct { } // spToEndpointMap stores groups Endpoint objects by ServicePortName and -// EndpointSlice name. +// IP address. type spToEndpointMap map[ServicePortName]map[string]Endpoint // NewEndpointSliceCache initializes an EndpointSliceCache.