mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix docker inspect container only reports last assigned information
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
bf9f2691ca
commit
1b9a08e719
6 changed files with 95 additions and 52 deletions
|
@ -85,7 +85,7 @@ func (s *DockerSuite) TestApiStatsNetworkStats(c *check.C) {
|
|||
c.Assert(waitRun(id), checker.IsNil)
|
||||
|
||||
// Retrieve the container address
|
||||
contIP := findContainerIP(c, id)
|
||||
contIP := findContainerIP(c, id, "bridge")
|
||||
numPings := 10
|
||||
|
||||
var preRxPackets uint64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue