1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05: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:
Dennis Chen 2018-03-30 09:44:35 +00:00
parent 1d59c66b70
commit f041953d04

View file

@ -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) {