mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
Remove use of deprecated client.NewEnvClient()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -359,7 +359,7 @@ func (s *DockerSuite) TestExecInspectID(c *check.C) {
|
||||
}
|
||||
|
||||
// But we should still be able to query the execID
|
||||
cli, err := client.NewEnvClient()
|
||||
cli, err := client.NewClientWithOpts(client.FromEnv)
|
||||
c.Assert(err, checker.IsNil)
|
||||
defer cli.Close()
|
||||
|
||||
|
Reference in New Issue
Block a user