提交 2b8c48cc 编写于 作者: V vinu2003

start: fixed the type value for kubectl version mismatch to warning

上级 dc595145
...@@ -421,7 +421,7 @@ func showKubectlInfo(kcs *kubeconfig.Settings, k8sVersion string, machineName st ...@@ -421,7 +421,7 @@ func showKubectlInfo(kcs *kubeconfig.Settings, k8sVersion string, machineName st
out.Ln("") out.Ln("")
out.WarningT("{{.path}} is version {{.client_version}}, which may be incompatible with Kubernetes {{.cluster_version}}.", out.WarningT("{{.path}} is version {{.client_version}}, which may be incompatible with Kubernetes {{.cluster_version}}.",
out.V{"path": path, "client_version": client, "cluster_version": cluster}) out.V{"path": path, "client_version": client, "cluster_version": cluster})
out.ErrT(style.Tip, "You can also use 'minikube kubectl -- get pods' to invoke a matching version", out.WarningT("You can also use 'minikube kubectl -- get pods' to invoke a matching version",
out.V{"path": path, "client_version": client}) out.V{"path": path, "client_version": client})
} }
return nil return nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册