1
0
mirror of https://github.com/moby/moby.git synced 2025-07-29 07:21:35 +03:00

Use TLS for tests if needed

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
Christopher Crone
2017-09-08 17:17:28 +02:00
parent dc6ddfa841
commit 0bdba0e91a
8 changed files with 22 additions and 17 deletions

View File

@ -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()