1
0
mirror of https://github.com/moby/moby.git synced 2025-08-01 05:47:11 +03:00

Migrate some calls to new client function

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2018-01-31 15:01:29 -08:00
parent 2227c8ad5e
commit 6977f468bb
13 changed files with 19 additions and 68 deletions

View File

@ -179,7 +179,7 @@ func (s *DockerSuite) TestAPIImagesSizeCompatibility(c *check.C) {
Labels map[string]string
}
cli, err = request.NewEnvClientWithVersion("v1.24")
cli, err = client.NewClientWithOpts(client.FromEnv, client.WithVersion("v1.24"))
c.Assert(err, checker.IsNil)
defer cli.Close()