1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

integration-cli: fix printf verbs of wrong types

Signed-off-by: Soshi Katsuta <katsuta_soshi@cyberagent.co.jp>
This commit is contained in:
Soshi Katsuta
2015-08-19 17:47:33 +09:00
parent 3dc30d47e1
commit 5759b95e7e
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ func (s *DockerSuite) TestCreateWithPortRange(c *check.C) {
c.Fatalf("Expected 1 ports binding, for the port %s but found %s", k, v)
}
if k.Port() != v[0].HostPort {
c.Fatalf("Expected host port %d to match published port %d", k.Port(), v[0].HostPort)
c.Fatalf("Expected host port %s to match published port %s", k.Port(), v[0].HostPort)
}
}
@ -161,7 +161,7 @@ func (s *DockerSuite) TestCreateWithiLargePortRange(c *check.C) {
c.Fatalf("Expected 1 ports binding, for the port %s but found %s", k, v)
}
if k.Port() != v[0].HostPort {
c.Fatalf("Expected host port %d to match published port %d", k.Port(), v[0].HostPort)
c.Fatalf("Expected host port %s to match published port %s", k.Port(), v[0].HostPort)
}
}