maybe this will work
parent
4fc095df77
commit
f7baa9c1e9
|
@ -328,7 +328,7 @@ func validateMinikubeKubectlDirectCall(ctx context.Context, t *testing.T, profil
|
|||
}
|
||||
defer os.Remove(dstfn) // clean up
|
||||
|
||||
kubectlArgs := []string{"--context", profile, "get", "pods"}
|
||||
kubectlArgs := []string{"--", "--context", profile, "get", "pods"}
|
||||
rr, err := Run(t, exec.CommandContext(ctx, dstfn, kubectlArgs...))
|
||||
if err != nil {
|
||||
t.Fatalf("failed to run kubectl directly. args %q: %v", rr.Command(), err)
|
||||
|
|
Loading…
Reference in New Issue