From 2daa150fd6e8687cb18bfcbcb79d35a76ece4e88 Mon Sep 17 00:00:00 2001 From: "chang.qiangqiang" Date: Wed, 6 Nov 2024 16:28:42 +0800 Subject: [PATCH] fix(status): set log to level 5 Signed-off-by: chang.qiangqiang --- pkg/controllers/status/work_status_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/status/work_status_controller.go b/pkg/controllers/status/work_status_controller.go index 591e962cbc0f..82c5dc07e653 100644 --- a/pkg/controllers/status/work_status_controller.go +++ b/pkg/controllers/status/work_status_controller.go @@ -170,7 +170,7 @@ func generateKey(obj interface{}) (util.QueueKey, error) { func getClusterNameFromAnnotation(resource *unstructured.Unstructured) (string, error) { workNamespace, exist := resource.GetAnnotations()[workv1alpha2.WorkNamespaceAnnotation] if !exist { - klog.V(4).Infof("Ignore resource(kind=%s, %s/%s) which is not managed by Karmada.", resource.GetKind(), resource.GetNamespace(), resource.GetName()) + klog.V(5).Infof("Ignore resource(kind=%s, %s/%s) which is not managed by Karmada.", resource.GetKind(), resource.GetNamespace(), resource.GetName()) return "", nil }