mirror of https://github.com/k3s-io/k3s
Merge pull request #70182 from SataQiu/fix-20181024
Fix incorrect return value of kubeadm pre-flight checkspull/58/head
commit
eff7492d38
|
@ -83,7 +83,7 @@ func runPreflightMaster(c workflow.RunData) error {
|
|||
|
||||
fmt.Println("[preflight] running pre-flight checks")
|
||||
if err := preflight.RunInitMasterChecks(utilsexec.New(), data.Cfg(), data.IgnorePreflightErrors()); err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
if !data.DryRun() {
|
||||
|
|
Loading…
Reference in New Issue