mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Merge pull request #109527 from navist2020/kubeadm/preflightError
Return preflightError if an error occurs when running the preflight
This commit is contained in:
commit
74ec2dd197
1 changed files with 1 additions and 1 deletions
|
|
@ -1063,7 +1063,7 @@ func RunRootCheckOnly(ignorePreflightErrors sets.String) error {
|
|||
func RunPullImagesCheck(execer utilsexec.Interface, cfg *kubeadmapi.InitConfiguration, ignorePreflightErrors sets.String) error {
|
||||
containerRuntime, err := utilruntime.NewContainerRuntime(utilsexec.New(), cfg.NodeRegistration.CRISocket)
|
||||
if err != nil {
|
||||
return err
|
||||
return &Error{Msg: err.Error()}
|
||||
}
|
||||
|
||||
checks := []Checker{
|
||||
|
|
|
|||
Loading…
Reference in a new issue