Skip to content

Commit 1bb5509

Browse files
committed
Fix misleading kube-proxy logs about IPversion mismatch.
1 parent 90f4195 commit 1bb5509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/proxy/endpoints.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func (ect *EndpointChangeTracker) endpointsToEndpointsMap(endpoints *v1.Endpoint
327327
if ect.isIPv6Mode != nil && utilnet.IsIPv6String(addr.IP) != *ect.isIPv6Mode {
328328
// Emit event on the corresponding service which had a different
329329
// IP version than the endpoint.
330-
utilproxy.LogAndEmitIncorrectIPVersionEvent(ect.recorder, "endpoints", addr.IP, endpoints.Name, endpoints.Namespace, "")
330+
utilproxy.LogAndEmitIncorrectIPVersionEvent(ect.recorder, "endpoints", addr.IP, endpoints.Namespace, endpoints.Name, "")
331331
continue
332332
}
333333
isLocal := addr.NodeName != nil && *addr.NodeName == ect.hostname

0 commit comments

Comments
 (0)