Signed-off-by: WTFKr0 <thomas.kovatchitch@gmail.com>
This commit is contained in:
WTFKr0 2017-02-06 14:18:12 +01:00 committed by Emile Vauge
parent b1764a6864
commit 250a0863f6
No known key found for this signature in database
GPG key ID: D808B4C167352E59

View file

@ -110,7 +110,7 @@ func (s *DockerSuite) TestDefaultDockerContainers(c *check.C) {
client := &http.Client{}
req, err := http.NewRequest("GET", "http://127.0.0.1:8000/version", nil)
c.Assert(err, checker.IsNil)
req.Host = fmt.Sprintf("%s.docker.localhost", strings.Replace(name, "_", "-", -1))
req.Host = fmt.Sprintf("%s.docker.localhost", strings.Replace(name, "_", "-", -1))
resp, err := client.Do(req)
c.Assert(err, checker.IsNil)