mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
nfd-master: log errors on node update retries
This commit is contained in:
parent
41e903de1a
commit
044fd4a3fd
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func (u *nodeUpdaterPool) processNodeUpdateRequest(queue workqueue.RateLimitingI
|
|||
nodeUpdateRequests.Inc()
|
||||
if err := u.nfdMaster.nfdAPIUpdateOneNode(nodeName.(string)); err != nil {
|
||||
if queue.NumRequeues(nodeName) < 15 {
|
||||
klog.InfoS("retrying node update", "nodeName", nodeName)
|
||||
klog.InfoS("retrying node update", "nodeName", nodeName, "lastError", err)
|
||||
queue.AddRateLimited(nodeName)
|
||||
return true
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue