mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
controller/endpoint: explict log msg when syncing error
Signed-off-by: CuiHaozhi <cuihaozhi@chinacloud.com.cn>
This commit is contained in:
parent
3538676841
commit
a4d01b8bdd
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user