mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +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
1043bf333c
commit
aabc56c6ed
@ -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