提交 01d47d61 编写于 作者: B BLasan

Fix minikube kubectl context switching

上级 3512e880
......@@ -43,6 +43,10 @@ minikube kubectl -- get pods --namespace kube-system`,
co := mustload.Healthy(ClusterFlagValue())
version := co.Config.KubernetesConfig.KubernetesVersion
cluster := []string{"--cluster", ClusterFlagValue()}
args = append(args, cluster...)
c, err := KubectlCommand(version, args...)
if err != nil {
out.ErrLn("Error caching kubectl: %v", err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册