Merge pull request #9832 from lingsamuel/fix-node-start-step

Fix missing InitialSetup in `node start`
pull/9856/head
Medya Ghazizadeh 2020-12-04 00:45:33 -08:00 committed by GitHub
commit 0a4f2930e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ import (
"k8s.io/minikube/pkg/minikube/mustload"
"k8s.io/minikube/pkg/minikube/node"
"k8s.io/minikube/pkg/minikube/out"
"k8s.io/minikube/pkg/minikube/out/register"
"k8s.io/minikube/pkg/minikube/reason"
"k8s.io/minikube/pkg/minikube/style"
)
@ -54,6 +55,7 @@ var nodeStartCmd = &cobra.Command{
os.Exit(0)
}
register.Reg.SetStep(register.InitialSetup)
r, p, m, h, err := node.Provision(cc, n, false, viper.GetBool(deleteOnFailure))
if err != nil {
exit.Error(reason.GuestNodeProvision, "provisioning host for node", err)