1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #26574 from cpuguy83/fix_improper_use_in_test

Fix improper use of `--rm` in test case
This commit is contained in:
Brian Goff 2016-09-14 15:28:40 -04:00 committed by GitHub
commit f8d6dedb6a

View file

@ -1764,7 +1764,7 @@ func (s *DockerNetworkSuite) TestDockerNetworkDisconnectFromBridge(c *check.C) {
network := strings.TrimSpace(out)
name := "test"
dockerCmd(c, "create", "--rm", "--name", name, "busybox", "top")
dockerCmd(c, "create", "--name", name, "busybox", "top")
_, _, err := dockerCmdWithError("network", "disconnect", network, name)
c.Assert(err, check.IsNil)