docker-env

pull/8265/head
Medya Gh 2020-05-26 23:30:42 -07:00
parent bf5aefb61d
commit d8bbcc03f5
No known key found for this signature in database
GPG Key ID: 7CF7792C6DF3245C
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ func validateDockerEnv(ctx context.Context, t *testing.T, profile string) {
// do a eval $(minikube -p profile docker-env) and check if we are point to docker inside minikube
if runtime.GOOS == "windows" { // testing docker-env eval in powershell
c := exec.CommandContext(mctx, Target(), "-p "+profile+" docker-env | Invoke-Expression ; docker images")
rr, err = Run(t, c) // golang exec powershell needs some tricks !
rr, err = Run(t, c, true) // golang exec powershell needs some tricks !
} else {
c := exec.CommandContext(mctx, "/bin/bash", "-c", "eval $("+Target()+" -p "+profile+" docker-env) && docker images")
rr, err = Run(t, c)