From 1d445094b107c065d242b2407636ef8edf0f3e0a Mon Sep 17 00:00:00 2001 From: Ismail Alidzhikov Date: Wed, 14 Aug 2024 15:24:45 +0300 Subject: [PATCH] Nit: Unify logging --- vertical-pod-autoscaler/pkg/recommender/input/cluster_feeder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vertical-pod-autoscaler/pkg/recommender/input/cluster_feeder.go b/vertical-pod-autoscaler/pkg/recommender/input/cluster_feeder.go index b6db76983076..a30140fbe922 100644 --- a/vertical-pod-autoscaler/pkg/recommender/input/cluster_feeder.go +++ b/vertical-pod-autoscaler/pkg/recommender/input/cluster_feeder.go @@ -338,7 +338,7 @@ func filterVPAs(feeder *clusterStateFeeder, allVpaCRDs []*vpa_types.VerticalPodA } if slices.Contains(feeder.ignoredNamespaces, vpaCRD.ObjectMeta.Namespace) { - klog.V(6).Infof("Ignoring vpaCRD %s in namespace %s as namespace is ignored", vpaCRD.Name, vpaCRD.Namespace) + klog.V(6).Infof("Ignoring vpaCRD %s in namespace %s as namespace is ignored", klog.KObj(vpaCRD), vpaCRD.Namespace) continue }