mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #15691 from skatsuta/fix-printf-wrong-type
integration-cli: fix printf verbs of wrong types
This commit is contained in:
commit
09cdd0524e
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
c.Fatalf("Expected 1 ports binding, for the port %s but found %s", k, v)
|
||||||
}
|
}
|
||||||
if k.Port() != v[0].HostPort {
|
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)
|
c.Fatalf("Expected 1 ports binding, for the port %s but found %s", k, v)
|
||||||
}
|
}
|
||||||
if k.Port() != v[0].HostPort {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1895,7 +1895,7 @@ func (s *DockerSuite) TestRunAllowPortRangeThroughExpose(c *check.C) {
|
||||||
c.Fatalf("Port %d is out of range ", portnum)
|
c.Fatalf("Port %d is out of range ", portnum)
|
||||||
}
|
}
|
||||||
if binding == nil || len(binding) != 1 || len(binding[0].HostPort) == 0 {
|
if binding == nil || len(binding) != 1 || len(binding[0].HostPort) == 0 {
|
||||||
c.Fatalf("Port is not mapped for the port %d", port)
|
c.Fatalf("Port is not mapped for the port %s", port)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue