mirror of
https://github.com/moby/moby.git
synced 2025-10-28 19:14:55 +03:00
Fix a misused network object name
A minor nit. `test01` never been created and used in `TestDockerNetworkInspectCustomSpecified()` function, so correct it. Signed-off-by: Dennis Chen <dennis.chen@arm.com>
This commit is contained in:
@@ -739,7 +739,7 @@ func (s *DockerNetworkSuite) TestDockerNetworkInspectCustomSpecified(c *check.C)
|
|||||||
c.Assert(nr.IPAM.Config[0].Gateway, checker.Equals, "172.28.5.254")
|
c.Assert(nr.IPAM.Config[0].Gateway, checker.Equals, "172.28.5.254")
|
||||||
c.Assert(nr.Internal, checker.False)
|
c.Assert(nr.Internal, checker.False)
|
||||||
dockerCmd(c, "network", "rm", "br0")
|
dockerCmd(c, "network", "rm", "br0")
|
||||||
assertNwNotAvailable(c, "test01")
|
assertNwNotAvailable(c, "br0")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DockerNetworkSuite) TestDockerNetworkIPAMInvalidCombinations(c *check.C) {
|
func (s *DockerNetworkSuite) TestDockerNetworkIPAMInvalidCombinations(c *check.C) {
|
||||||
|
|||||||
Reference in New Issue
Block a user