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:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user