mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #70182 from SataQiu/fix-20181024
Fix incorrect return value of kubeadm pre-flight checks
This commit is contained in:
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
Block a user