mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
kubeadm: remove misplaced error during image pull
During preflight when an image is pulled, if the sandbox image check returns an error, the same error later blocks the actual image pull.
This commit is contained in:
parent
8a5cf7b66f
commit
2f4bd13fe5
@ -863,9 +863,6 @@ func (ipc ImagePullCheck) Check() (warnings, errorList []error) {
|
||||
klog.V(1).Infof("image exists: %s", image)
|
||||
continue
|
||||
}
|
||||
if err != nil {
|
||||
errorList = append(errorList, errors.Wrapf(err, "failed to check if image %s exists", image))
|
||||
}
|
||||
fallthrough // Proceed with pulling the image if it does not exist
|
||||
case v1.PullAlways:
|
||||
klog.V(1).Infof("pulling: %s", image)
|
||||
|
Loading…
Reference in New Issue
Block a user