From 89c1943a85421cc04b159b0bd7bbac3500df7f8e Mon Sep 17 00:00:00 2001 From: duanmengkk Date: Wed, 15 Nov 2023 11:12:44 +0800 Subject: [PATCH] fix: fix ipfamily mismatch in root cluster and leaf cluster Signed-off-by: duanmengkk --- .../cluster-manager/controllers/mcs/serviceimport_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/clustertree/cluster-manager/controllers/mcs/serviceimport_controller.go b/pkg/clustertree/cluster-manager/controllers/mcs/serviceimport_controller.go index 9221b31b2..55027106a 100644 --- a/pkg/clustertree/cluster-manager/controllers/mcs/serviceimport_controller.go +++ b/pkg/clustertree/cluster-manager/controllers/mcs/serviceimport_controller.go @@ -318,7 +318,7 @@ func clearEndpointSlice(slice *discoveryv1.EndpointSlice, disconnectedAddress [] func (c *ServiceImportController) importServiceHandler(ctx context.Context, rootService *corev1.Service, serviceImport *mcsv1alpha1.ServiceImport) error { err := c.checkServiceType(rootService) if err != nil { - klog.Errorf("Cloud not create service in leaf cluster %s,Error: %v", c.LeafNodeName, err) + klog.Warningf("Cloud not create service in leaf cluster %s,Error: %v", c.LeafNodeName, err) // return nil will not requeue return nil }