fix a typo in pkg/proxy/ipvs/proxier.go

This commit is contained in:
Hao Ruan 2023-01-09 09:29:22 +08:00
parent cf7a3c5bbb
commit 7f3de6e53a

View File

@ -291,7 +291,7 @@ type Proxier struct {
// sets.String is used here since we end up calculating endpoint topology multiple times for the same Service
// if it has multiple ports but each Service should only be counted once.
serviceNoLocalEndpointsInternal sets.String
// serviceNoLocalEndpointsExternal irepresents the set of services that couldn't be applied
// serviceNoLocalEndpointsExternal represents the set of services that couldn't be applied
// due to the absence of any endpoints when the external traffic policy is "Local".
// It is used to publish the sync_proxy_rules_no_endpoints_total
// metric with the traffic_policy label set to "external".