Merge pull request #5626 from govargo/fix-update-context
fix "minikube update-context" command failpull/5653/head
commit
acec7e5971
|
@ -44,7 +44,7 @@ var updateContextCmd = &cobra.Command{
|
||||||
if err != nil {
|
if err != nil {
|
||||||
exit.WithError("Error host driver ip status", err)
|
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 {
|
if err != nil {
|
||||||
exit.WithError("update config", err)
|
exit.WithError("update config", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue