From 6ee3a941a9c97ccde946184e7b9c1532daabbdd4 Mon Sep 17 00:00:00 2001 From: Matt Rickard Date: Wed, 14 Jun 2017 11:13:04 -0700 Subject: [PATCH] Correct NewAPIClient invocation Two merges happened close to each other, the first changed the signature of this function. --- cmd/minikube/cmd/update-context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/minikube/cmd/update-context.go b/cmd/minikube/cmd/update-context.go index 3b889c2bfb..d79c43f568 100644 --- a/cmd/minikube/cmd/update-context.go +++ b/cmd/minikube/cmd/update-context.go @@ -36,7 +36,7 @@ var updateContextCmd = &cobra.Command{ Long: `Retrieves the IP address of the running cluster, checks it with IP in kubeconfig, and corrects kubeconfig if incorrect.`, Run: func(cmd *cobra.Command, args []string) { - api, err := machine.NewAPIClient(clientType) + api, err := machine.NewAPIClient() if err != nil { fmt.Fprintf(os.Stderr, "Error getting client: %s\n", err) os.Exit(1)