Explorar o código

Merge pull request #20406 from aaronlehmann/integration-test-format-string

Fix format string in TestExecApiCreateContainerPaused
Alexander Morozov %!s(int64=9) %!d(string=hai) anos
pai
achega
0cc9720c2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      integration-cli/docker_api_exec_test.go

+ 1 - 1
integration-cli/docker_api_exec_test.go

@@ -58,7 +58,7 @@ func (s *DockerSuite) TestExecApiCreateContainerPaused(c *check.C) {
 	c.Assert(err, checker.IsNil)
 	c.Assert(status, checker.Equals, http.StatusConflict)
 
-	comment := check.Commentf("Expected message when creating exec command with Container s% is paused", name)
+	comment := check.Commentf("Expected message when creating exec command with Container %s is paused", name)
 	c.Assert(string(body), checker.Contains, "Container "+name+" is paused, unpause the container before exec", comment)
 }