From 7e894a0e62e8e19b266e7909f72de8ba25a2ebc0 Mon Sep 17 00:00:00 2001 From: whitewindmills Date: Tue, 9 Jan 2024 16:28:28 +0800 Subject: [PATCH] Fix misjudgment when updating attached binding Signed-off-by: whitewindmills --- pkg/dependenciesdistributor/dependencies_distributor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/dependenciesdistributor/dependencies_distributor.go b/pkg/dependenciesdistributor/dependencies_distributor.go index 75294c300..5e25470ac 100644 --- a/pkg/dependenciesdistributor/dependencies_distributor.go +++ b/pkg/dependenciesdistributor/dependencies_distributor.go @@ -534,6 +534,7 @@ func (d *DependenciesDistributor) createOrUpdateAttachedBinding(attachedBinding klog.Errorf("Failed to update resource binding(%s/%s): %v", existBinding.Namespace, existBinding.Name, err) return err } + return nil } if !apierrors.IsNotFound(err) {