Merge pull request #70182 from SataQiu/fix-20181024

Fix incorrect return value of kubeadm pre-flight checks
This commit is contained in:
k8s-ci-robot
2018-10-24 16:58:22 -07:00
committed by GitHub

View File

@@ -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() {