@@ -1391,7 +1391,7 @@ func (proxier *Proxier) syncProxyRules() {
13911391		if  svcInfo .NodePort () !=  0  {
13921392			if  hasEndpoints  {
13931393				// Jump to the external destination chain.  For better or for 
1394- 				// worse, nodeports are not subect  to loadBalancerSourceRanges, 
1394+ 				// worse, nodeports are not subject  to loadBalancerSourceRanges, 
13951395				// and we can't change that. 
13961396				tx .Add (& knftables.Element {
13971397					Map : serviceNodePortsMap ,
@@ -1560,13 +1560,13 @@ func (proxier *Proxier) syncProxyRules() {
15601560		// If Cluster policy is in use, create the chain and create rules jumping 
15611561		// from clusterPolicyChain to the clusterEndpoints 
15621562		if  usesClusterPolicyChain  {
1563- 			proxier .writeServiceToEndpointRules (tx , svcPortNameString ,  svcInfo , clusterPolicyChain , clusterEndpoints )
1563+ 			proxier .writeServiceToEndpointRules (tx , svcInfo , clusterPolicyChain , clusterEndpoints )
15641564		}
15651565
15661566		// If Local policy is in use, create rules jumping from localPolicyChain 
15671567		// to the localEndpoints 
15681568		if  usesLocalPolicyChain  {
1569- 			proxier .writeServiceToEndpointRules (tx , svcPortNameString ,  svcInfo , localPolicyChain , localEndpoints )
1569+ 			proxier .writeServiceToEndpointRules (tx , svcInfo , localPolicyChain , localEndpoints )
15701570		}
15711571
15721572		// Generate the per-endpoint chains 
@@ -1699,7 +1699,7 @@ func (proxier *Proxier) syncProxyRules() {
16991699	conntrack .CleanStaleEntries (proxier .conntrack , proxier .svcPortMap , serviceUpdateResult , endpointUpdateResult )
17001700}
17011701
1702- func  (proxier  * Proxier ) writeServiceToEndpointRules (tx  * knftables.Transaction , svcPortNameString   string ,  svcInfo  * servicePortInfo , svcChain  string , endpoints  []proxy.Endpoint ) {
1702+ func  (proxier  * Proxier ) writeServiceToEndpointRules (tx  * knftables.Transaction , svcInfo  * servicePortInfo , svcChain  string , endpoints  []proxy.Endpoint ) {
17031703	// First write session affinity rules, if applicable. 
17041704	if  svcInfo .SessionAffinityType () ==  v1 .ServiceAffinityClientIP  {
17051705		ipX  :=  "ip" 
0 commit comments