mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Fix documentation on EndpointSliceCache map
This is not storing by slice name, it is IP. This can be seen from the code and tests.
This commit is contained in:
parent
4db8c590ac
commit
b898266cb1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user