Fixes for dnephin review

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Upstream-commit: 86f9eb4a085a61b3355dc38452c47def806bf7c9
Component: engine
This commit is contained in:
Christopher Crone
2017-09-14 19:27:09 +02:00
parent f23d5bec57
commit 4d643fb18a
16 changed files with 79 additions and 120 deletions
@@ -1372,7 +1372,7 @@ func (s *DockerSuite) TestContainerAPICreateNoHostConfig118(c *check.C) {
Image: "busybox",
}
cli, err := NewEnvClientWithVersion("v1.18")
cli, err := request.NewEnvClientWithVersion("v1.18")
_, err = cli.ContainerCreate(context.Background(), &config, &containertypes.HostConfig{}, &networktypes.NetworkingConfig{}, "")
c.Assert(err, checker.IsNil)