From d2557e688c54e9b38b3450f173e32fe82d88b191 Mon Sep 17 00:00:00 2001 From: Kenta Iso Date: Tue, 15 Oct 2019 22:41:59 +0900 Subject: [PATCH] fix kubeconfig.UpdateIP() argument order --- 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 3a6eeda815..9474bf7ab5 100644 --- a/cmd/minikube/cmd/update-context.go +++ b/cmd/minikube/cmd/update-context.go @@ -44,7 +44,7 @@ var updateContextCmd = &cobra.Command{ if err != nil { exit.WithError("Error host driver ip status", err) } - updated, err := kubeconfig.UpdateIP(ip, constants.KubeconfigPath, machineName) + updated, err := kubeconfig.UpdateIP(ip, machineName, constants.KubeconfigPath) if err != nil { exit.WithError("update config", err) }