File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ func (c *Controller) handleUpdateEndpointSlice(key string) error {
133133
134134 // If Kube-OVN is running in secondary CNI mode, the endpoint IPs should be derived from the network attachment definitions
135135 // This overwrite can be removed if endpoint construction accounts for network attachment IP address
136- // TODO: Identify how endpoints are constructed, by default, endpoints has IP address of eth0 inteface
136+ // TODO: Identify how endpoints are constructed, by default, endpoints has IP address of eth0 interface
137137 if c .config .EnableNonPrimaryCNI && serviceHasSelector (svc ) {
138138 var pods []* v1.Pod
139139 if pods , err = c .podsLister .Pods (namespace ).List (labels .Set (svc .Spec .Selector ).AsSelector ()); err != nil {
@@ -747,7 +747,7 @@ func (c *Controller) getIPPortMappingWithTargets(endpointSlices []*discoveryv1.E
747747 return mapping
748748}
749749
750- // getIPPortMappingWithTargets returns the IPPortMapping for endpoints with no targets
750+ // getIPPortMappingWithNoTargets returns the IPPortMapping for endpoints with no targets
751751func (c * Controller ) getIPPortMappingWithNoTargets (endpointSlices []* discoveryv1.EndpointSlice , pods []* v1.Pod , checkVip string ) IPPortMapping {
752752 mapping := make (IPPortMapping )
753753
You can’t perform that action at this time.
0 commit comments