Fix misjudgment when updating attached binding

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
This commit is contained in:
whitewindmills 2024-01-09 16:28:28 +08:00
parent 65376b28d5
commit 7e894a0e62
1 changed files with 1 additions and 0 deletions

View File

@ -534,6 +534,7 @@ func (d *DependenciesDistributor) createOrUpdateAttachedBinding(attachedBinding
klog.Errorf("Failed to update resource binding(%s/%s): %v", existBinding.Namespace, existBinding.Name, err) klog.Errorf("Failed to update resource binding(%s/%s): %v", existBinding.Namespace, existBinding.Name, err)
return err return err
} }
return nil
} }
if !apierrors.IsNotFound(err) { if !apierrors.IsNotFound(err) {