From c4f7308e1160e5ae3221a332bda9a2dd0103856b Mon Sep 17 00:00:00 2001 From: SataQiu <1527062125@qq.com> Date: Wed, 22 Jan 2020 16:35:58 +0800 Subject: [PATCH] kube-proxy: fix incorrect log information --- pkg/proxy/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/config/config.go b/pkg/proxy/config/config.go index b8e25155d56..2f073e8f06e 100644 --- a/pkg/proxy/config/config.go +++ b/pkg/proxy/config/config.go @@ -240,7 +240,7 @@ func (c *EndpointSliceConfig) handleAddEndpointSlice(obj interface{}) { return } for _, h := range c.eventHandlers { - klog.V(4).Infof("Calling handler.OnEndpointSliceUpdate %+v", endpointSlice) + klog.V(4).Infof("Calling handler.OnEndpointSliceAdd %+v", endpointSlice) h.OnEndpointSliceAdd(endpointSlice) } }