mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +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
e616858316
commit
8ed6e5c88d
@ -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