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
commit 558429967a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.