Fix misjudgment when updating attached binding
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
This commit is contained in:
parent
65376b28d5
commit
7e894a0e62
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue