fix kubeconfig.UpdateIP() argument order

pull/5626/head
Kenta Iso 2019-10-15 22:41:59 +09:00
parent 89bc5922d9
commit d2557e688c
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}