Merge pull request #95336 from howardjohn/endpointslicecache/doc

Fix documentation on EndpointSliceCache map
This commit is contained in:
Kubernetes Prow Robot
2020-10-06 14:14:51 -07:00
committed by GitHub

View File

@@ -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.