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:
commit
f8d6dedb6a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue