зеркало из https://github.com/microsoft/docker.git
Merge pull request #10796 from ahmetalpbalkan/win-cli/TestCliProxyDisableProxyUnixSock-fix
integration-cli: use remote daemon env var in TestCliProxyDisableProxyUnixSock
This commit is contained in:
Коммит
39df8473d6
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
func TestCliProxyDisableProxyUnixSock(t *testing.T) {
|
||||
cmd := exec.Command(dockerBinary, "info")
|
||||
cmd.Env = []string{"HTTP_PROXY=http://127.0.0.1:9999"}
|
||||
cmd.Env = appendDockerHostEnv([]string{"HTTP_PROXY=http://127.0.0.1:9999"})
|
||||
|
||||
if out, _, err := runCommandWithOutput(cmd); err != nil {
|
||||
t.Fatal(err, out)
|
||||
|
|
Загрузка…
Ссылка в новой задаче