提交 7f7fd8d5 编写于 作者: P Pablo Caderno

Updated kubectl args

Signed-off-by: NPablo Caderno <kaderno@gmail.com>
上级 07daab51
......@@ -320,7 +320,7 @@ func validateMinikubeKubectlDirectCall(ctx context.Context, t *testing.T, profil
}
defer os.Remove(dstfn) // clean up
kubectlArgs := []string{"-p", profile, "--", "--context", profile, "get", "pods"}
kubectlArgs := []string{"get", "pods"}
rr, err := Run(t, exec.CommandContext(ctx, dstfn, kubectlArgs...))
if err != nil {
t.Fatalf("failed to run kubectl directl. args %q: %v", rr.Command(), err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册