From 044fd4a3fd195030b7c089c2018f89a0489824c3 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Fri, 16 Feb 2024 15:51:04 +0200 Subject: [PATCH] nfd-master: log errors on node update retries --- pkg/nfd-master/node-updater-pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/nfd-master/node-updater-pool.go b/pkg/nfd-master/node-updater-pool.go index 39eb2234b..1bb81d87a 100644 --- a/pkg/nfd-master/node-updater-pool.go +++ b/pkg/nfd-master/node-updater-pool.go @@ -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 {