Skip to content

Commit

Permalink
Fix node start master
Browse files Browse the repository at this point in the history
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
  • Loading branch information
lingsamuel committed Dec 3, 2020
1 parent 8fc54b4 commit b26c6b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/minikube/cmd/node_start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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 {
Expand Down

0 comments on commit b26c6b6

Please sign in to comment.