Skip to content

Commit

Permalink
Merge pull request #5626 from govargo/fix-update-context
Browse files Browse the repository at this point in the history
fix "minikube update-context" command fail
  • Loading branch information
tstromberg authored Oct 17, 2019
2 parents fe93e79 + d2557e6 commit acec7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/update-context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit acec7e5

Please sign in to comment.