controller/endpoint: explict log msg when syncing error

Signed-off-by: CuiHaozhi <cuihaozhi@chinacloud.com.cn>
This commit is contained in:
CuiHaozhi 2018-03-31 11:30:14 +08:00
parent 3538676841
commit a4d01b8bdd

View File

@ -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
}