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