Skip to content

Commit e384893

Browse files
authored
Merge pull request kubernetes#129594 from neolit123/1.33-fix-preflight-pull-sandbox-error
kubeadm: remove misplaced error during image pull
2 parents a318576 + 2f4bd13 commit e384893

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/kubeadm/app/preflight/checks.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -863,9 +863,6 @@ func (ipc ImagePullCheck) Check() (warnings, errorList []error) {
863863
klog.V(1).Infof("image exists: %s", image)
864864
continue
865865
}
866-
if err != nil {
867-
errorList = append(errorList, errors.Wrapf(err, "failed to check if image %s exists", image))
868-
}
869866
fallthrough // Proceed with pulling the image if it does not exist
870867
case v1.PullAlways:
871868
klog.V(1).Infof("pulling: %s", image)

0 commit comments

Comments
 (0)