Merge pull request #30537 from DiSiqueira/asserting_error

Underscoring an unused var in tests
This commit is contained in:
Vincent Demeester 2017-02-01 16:08:20 +01:00 committed by GitHub
commit e66717e9f8
1 changed files with 2 additions and 1 deletions

View File

@ -356,7 +356,8 @@ func (s *DockerSuite) TestExecInspectID(c *check.C) {
}
// But we should still be able to query the execID
sc, body, err := request.SockRequest("GET", "/exec/"+execID+"/json", nil, daemonHost())
sc, body, _ := request.SockRequest("GET", "/exec/"+execID+"/json", nil, daemonHost())
c.Assert(sc, checker.Equals, http.StatusOK, check.Commentf("received status != 200 OK: %d\n%s", sc, body))
// Now delete the container and then an 'inspect' on the exec should