Merge pull request #129607 from neolit123/automated-cherry-pick-of-#129594-origin-release-1.31

Automated cherry pick of #129594: kubeadm: remove misplaced error during image pull
This commit is contained in:
Kubernetes Prow Robot 2025-01-28 04:21:25 -08:00 committed by GitHub
commit af62fde413
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -863,9 +863,6 @@ func (ipc ImagePullCheck) Check() (warnings, errorList []error) {
klog.V(1).Infof("image exists: %s", image) klog.V(1).Infof("image exists: %s", image)
continue 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 fallthrough // Proceed with pulling the image if it does not exist
case v1.PullAlways: case v1.PullAlways:
klog.V(1).Infof("pulling: %s", image) klog.V(1).Infof("pulling: %s", image)