Explorar o código

Add missing 'err' to Fatalf to help debug an issue

Signed-off-by: Doug Davis <dug@us.ibm.com>
Doug Davis %!s(int64=10) %!d(string=hai) anos
pai
achega
97c5f64001
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      integration-cli/docker_cli_exec_test.go

+ 1 - 1
integration-cli/docker_cli_exec_test.go

@@ -458,7 +458,7 @@ func (s *DockerSuite) TestInspectExecID(c *check.C) {
 	// Save execID for later
 	// Save execID for later
 	execID, err := inspectFilter(id, "index .ExecIDs 0")
 	execID, err := inspectFilter(id, "index .ExecIDs 0")
 	if err != nil {
 	if err != nil {
-		c.Fatalf("failed to get the exec id")
+		c.Fatalf("failed to get the exec id: %v", err)
 	}
 	}
 
 
 	// End the exec by closing its stdin, and wait for it to end
 	// End the exec by closing its stdin, and wait for it to end