Merge pull request #30537 from DiSiqueira/asserting_error

Underscoring an unused var in tests
Upstream-commit: e66717e9f8a8197ae7b25ecd5465b2ef8b47d56c
Component: engine
This commit is contained in:
Vincent Demeester
2017-02-01 16:08:20 +01:00
committed by GitHub
@@ -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