From 4be665866479469cb8a9692bfdcc3d1449055d31 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Wed, 16 Sep 2020 17:55:07 -0700 Subject: [PATCH] full revert --- cmd/minikube/cmd/start.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go index 21214cc48c..1ea218f02c 100644 --- a/cmd/minikube/cmd/start.go +++ b/cmd/minikube/cmd/start.go @@ -287,17 +287,17 @@ func provisionWithDriver(cmd *cobra.Command, ds registry.DriverState, existing * } } + mRunner, preExists, mAPI, host, err := node.Provision(&cc, &n, true, viper.GetBool(deleteOnFailure)) + if err != nil { + return node.Starter{}, err + } + if viper.GetBool(nativeSSH) { ssh.SetDefaultClient(ssh.Native) } else { ssh.SetDefaultClient(ssh.External) } - mRunner, preExists, mAPI, host, err := node.Provision(&cc, &n, true, viper.GetBool(deleteOnFailure)) - if err != nil { - return node.Starter{}, err - } - return node.Starter{ Runner: mRunner, PreExists: preExists,