From b26c6b68cb0f5ad3c02e53eade1ec12432fc0d97 Mon Sep 17 00:00:00 2001 From: Ling Samuel Date: Thu, 3 Dec 2020 12:51:16 +0800 Subject: [PATCH] Fix `node start` master Signed-off-by: Ling Samuel --- cmd/minikube/cmd/node_start.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/minikube/cmd/node_start.go b/cmd/minikube/cmd/node_start.go index a1711d1e1e52..1a704f33ef51 100644 --- a/cmd/minikube/cmd/node_start.go +++ b/cmd/minikube/cmd/node_start.go @@ -54,7 +54,7 @@ var nodeStartCmd = &cobra.Command{ os.Exit(0) } - r, p, m, h, err := node.Provision(cc, n, false, viper.GetBool(deleteOnFailure)) + r, p, m, h, err := node.Provision(cc, n, n.ControlPlane, viper.GetBool(deleteOnFailure)) if err != nil { exit.Error(reason.GuestNodeProvision, "provisioning host for node", err) } @@ -69,7 +69,7 @@ var nodeStartCmd = &cobra.Command{ ExistingAddons: nil, } - _, err = node.Start(s, false) + _, err = node.Start(s, n.ControlPlane) if err != nil { _, err := maybeDeleteAndRetry(cmd, *cc, *n, nil, err) if err != nil {