Browse code

Merge pull request #30537 from DiSiqueira/asserting_error

Underscoring an unused var in tests

Vincent Demeester authored on 2017/02/02 00:08:20
Showing 1 changed files
... ...
@@ -356,7 +356,8 @@ func (s *DockerSuite) TestExecInspectID(c *check.C) {
356 356
 	}
357 357
 
358 358
 	// But we should still be able to query the execID
359
-	sc, body, err := request.SockRequest("GET", "/exec/"+execID+"/json", nil, daemonHost())
359
+	sc, body, _ := request.SockRequest("GET", "/exec/"+execID+"/json", nil, daemonHost())
360
+
360 361
 	c.Assert(sc, checker.Equals, http.StatusOK, check.Commentf("received status != 200 OK: %d\n%s", sc, body))
361 362
 
362 363
 	// Now delete the container and then an 'inspect' on the exec should