From d79191e533c7e7ecf0d576c3f00d34de62df7a3c Mon Sep 17 00:00:00 2001 From: ovaldi Date: Thu, 28 Nov 2024 22:43:39 +0800 Subject: [PATCH] fix v1.2.2 DPANIC Signed-off-by: ovaldi --- internal/provider/kubernetes/status_updater.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/provider/kubernetes/status_updater.go b/internal/provider/kubernetes/status_updater.go index ee5cbce59d2..28ae373e9a6 100644 --- a/internal/provider/kubernetes/status_updater.go +++ b/internal/provider/kubernetes/status_updater.go @@ -188,7 +188,9 @@ func (u *UpdateWriter) Send(update Update) { u.eventsBeforeEnabled <- update } else { // If the buffer is full, drop the event to avoid blocking the sender. - u.log.Error(errors.New("dropping status update, buffer full"), "event", update.NamespacedName) + u.log.Error(errors.New("dropping status update, buffer full"), "event", + "name", update.NamespacedName.Name, + "namespace", update.NamespacedName.Namespace) } } }