diff options
author | Stanislav Bondarenko <stanislav.bondarenko@gmail.com> | 2017-05-23 23:56:26 -0400 |
---|---|---|
committer | Stanislav Bondarenko <stanislav.bondarenko@gmail.com> | 2017-08-23 17:10:04 -0400 |
commit | 0fd5a654280ef509a6512f84981f28d559869b90 (patch) | |
tree | 0e2cfb768f184d90f129564fc79d420b72e2919f /integration-cli/docker_deprecated_api_v124_unix_test.go | |
parent | cdf870bd0b5fa678b10ef2708cca7ad776b4913c (diff) | |
download | docker-0fd5a654280ef509a6512f84981f28d559869b90.tar.gz |
Stop using deprecated SockRequest
Signed-off-by: Stanislav Bondarenko <stanislav.bondarenko@gmail.com>
Diffstat (limited to 'integration-cli/docker_deprecated_api_v124_unix_test.go')
-rw-r--r-- | integration-cli/docker_deprecated_api_v124_unix_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-cli/docker_deprecated_api_v124_unix_test.go b/integration-cli/docker_deprecated_api_v124_unix_test.go index 5fc6c2ddfc..20a8885908 100644 --- a/integration-cli/docker_deprecated_api_v124_unix_test.go +++ b/integration-cli/docker_deprecated_api_v124_unix_test.go @@ -22,7 +22,7 @@ func (s *DockerNetworkSuite) TestDeprecatedDockerNetworkStartAPIWithHostconfig(c "NetworkMode": netName, }, } - _, _, err := request.SockRequest("POST", formatV123StartAPIURL("/containers/"+conName+"/start"), config, daemonHost()) + _, _, err := request.Post(formatV123StartAPIURL("/containers/"+conName+"/start"), request.JSONBody(config)) c.Assert(err, checker.IsNil) c.Assert(waitRun(conName), checker.IsNil) networks := inspectField(c, conName, "NetworkSettings.Networks") |