From 1bb55091a1a736be3a717e20a6b8f86a22407695 Mon Sep 17 00:00:00 2001 From: Vallery Lancey Date: Sat, 5 Oct 2019 18:28:29 -0700 Subject: [PATCH] Fix misleading kube-proxy logs about IPversion mismatch. --- pkg/proxy/endpoints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/endpoints.go b/pkg/proxy/endpoints.go index e78f9290875..5312ebac9cb 100644 --- a/pkg/proxy/endpoints.go +++ b/pkg/proxy/endpoints.go @@ -327,7 +327,7 @@ func (ect *EndpointChangeTracker) endpointsToEndpointsMap(endpoints *v1.Endpoint if ect.isIPv6Mode != nil && utilnet.IsIPv6String(addr.IP) != *ect.isIPv6Mode { // Emit event on the corresponding service which had a different // IP version than the endpoint. - utilproxy.LogAndEmitIncorrectIPVersionEvent(ect.recorder, "endpoints", addr.IP, endpoints.Name, endpoints.Namespace, "") + utilproxy.LogAndEmitIncorrectIPVersionEvent(ect.recorder, "endpoints", addr.IP, endpoints.Namespace, endpoints.Name, "") continue } isLocal := addr.NodeName != nil && *addr.NodeName == ect.hostname