diff options
author | Christopher Crone <christopher.crone@docker.com> | 2017-09-08 17:17:28 +0200 |
---|---|---|
committer | Christopher Crone <christopher.crone@docker.com> | 2017-09-14 19:27:09 +0200 |
commit | 0bdba0e91a072ee2cdecb4e632c13f187eb88e9c (patch) | |
tree | 5be09e1a9789b07c2e87deeab73fdafc6bca0a51 /integration-cli/docker_api_images_test.go | |
parent | dc6ddfa8415d90e9a9788d5cfd5a10c17449bbc9 (diff) | |
download | docker-0bdba0e91a072ee2cdecb4e632c13f187eb88e9c.tar.gz |
Use TLS for tests if needed
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Diffstat (limited to 'integration-cli/docker_api_images_test.go')
-rw-r--r-- | integration-cli/docker_api_images_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/integration-cli/docker_api_images_test.go b/integration-cli/docker_api_images_test.go index 8ad12fb77d..4b3fb059cf 100644 --- a/integration-cli/docker_api_images_test.go +++ b/integration-cli/docker_api_images_test.go @@ -179,8 +179,7 @@ func (s *DockerSuite) TestAPIImagesSizeCompatibility(c *check.C) { Labels map[string]string } - var httpClient *http.Client - cli, err = client.NewClient(daemonHost(), "v1.24", httpClient, nil) + cli, err = NewEnvClientWithVersion("v1.24") c.Assert(err, checker.IsNil) defer cli.Close() |