mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Fix deleted UDP endpoint detection
This commit is contained in:
		@@ -308,7 +308,8 @@ func detectStaleConntrackEntries(oldEndpointsMap, newEndpointsMap EndpointsMap,
 | 
			
		||||
			// serving to not serving. If it did change stale entries for the old
 | 
			
		||||
			// endpoint have to be cleared.
 | 
			
		||||
			for i := range newEndpointsMap[svcPortName] {
 | 
			
		||||
				if newEndpointsMap[svcPortName][i].String() == ep.String() {
 | 
			
		||||
				if newEndpointsMap[svcPortName][i].String() == ep.String() &&
 | 
			
		||||
					newEndpointsMap[svcPortName][i].IsServing() == ep.IsServing() {
 | 
			
		||||
					deleted = false
 | 
			
		||||
					break
 | 
			
		||||
				}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user