Просмотр исходного кода

Merge pull request #30537 from DiSiqueira/asserting_error

Underscoring an unused var in tests
Vincent Demeester 8 лет назад
Родитель
Сommit
e66717e9f8
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      integration-cli/docker_cli_exec_test.go

+ 2 - 1
integration-cli/docker_cli_exec_test.go

@@ -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