From a4d01b8bddb7d6744c53e84b127a6dae47446101 Mon Sep 17 00:00:00 2001 From: CuiHaozhi Date: Sat, 31 Mar 2018 11:30:14 +0800 Subject: [PATCH] controller/endpoint: explict log msg when syncing error Signed-off-by: CuiHaozhi --- pkg/controller/endpoint/endpoints_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/endpoint/endpoints_controller.go b/pkg/controller/endpoint/endpoints_controller.go index a0ae0e4e895..8e84e0e1154 100644 --- a/pkg/controller/endpoint/endpoints_controller.go +++ b/pkg/controller/endpoint/endpoints_controller.go @@ -372,7 +372,7 @@ func (e *EndpointController) handleErr(err error, key interface{}) { } if e.queue.NumRequeues(key) < maxRetries { - glog.V(2).Infof("Error syncing endpoints for service %q: %v", key, err) + glog.V(2).Infof("Error syncing endpoints for service %q, retrying. Error: %v", key, err) e.queue.AddRateLimited(key) return }