mirror of https://github.com/k3s-io/k3s
fix incorrect return value of kubeadm pre-flight checks
parent
2f9b65143e
commit
23e67a1b80
|
@ -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