提交 d2557e68 编写于 作者: K Kenta Iso

fix kubeconfig.UpdateIP() argument order

上级 89bc5922
...@@ -44,7 +44,7 @@ var updateContextCmd = &cobra.Command{ ...@@ -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)
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册