mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +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()
|
nodeUpdateRequests.Inc()
|
||||||
if err := u.nfdMaster.nfdAPIUpdateOneNode(nodeName.(string)); err != nil {
|
if err := u.nfdMaster.nfdAPIUpdateOneNode(nodeName.(string)); err != nil {
|
||||||
if queue.NumRequeues(nodeName) < 15 {
|
if queue.NumRequeues(nodeName) < 15 {
|
||||||
klog.InfoS("retrying node update", "nodeName", nodeName)
|
klog.InfoS("retrying node update", "nodeName", nodeName, "lastError", err)
|
||||||
queue.AddRateLimited(nodeName)
|
queue.AddRateLimited(nodeName)
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue