mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fixes the typo of docker_cli_network_unix_test.go
Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
This commit is contained in:
parent
7db58948bf
commit
2e6b1eb309
1 changed files with 2 additions and 2 deletions
|
@ -1189,7 +1189,7 @@ func (s *DockerSuite) TestUserDefinedNetworkConnectDisconnectLink(c *check.C) {
|
||||||
dockerCmd(c, "run", "-d", "--net=foo1", "--name=first", "busybox", "top")
|
dockerCmd(c, "run", "-d", "--net=foo1", "--name=first", "busybox", "top")
|
||||||
c.Assert(waitRun("first"), check.IsNil)
|
c.Assert(waitRun("first"), check.IsNil)
|
||||||
|
|
||||||
// run a container in user-defined network udlinkNet with a link for an existing container
|
// run a container in a user-defined network with a link for an existing container
|
||||||
// and a link for a container that doesnt exist
|
// and a link for a container that doesnt exist
|
||||||
dockerCmd(c, "run", "-d", "--net=foo1", "--name=second", "--link=first:FirstInFoo1",
|
dockerCmd(c, "run", "-d", "--net=foo1", "--name=second", "--link=first:FirstInFoo1",
|
||||||
"--link=third:bar", "busybox", "top")
|
"--link=third:bar", "busybox", "top")
|
||||||
|
@ -1222,7 +1222,7 @@ func (s *DockerSuite) TestUserDefinedNetworkConnectDisconnectLink(c *check.C) {
|
||||||
c.Assert(err, check.IsNil)
|
c.Assert(err, check.IsNil)
|
||||||
}
|
}
|
||||||
|
|
||||||
// #19100 This is a deprecated feature test, it should be remove in Docker 1.12
|
// #19100 This is a deprecated feature test, it should be removed in Docker 1.12
|
||||||
func (s *DockerNetworkSuite) TestDockerNetworkStartAPIWithHostconfig(c *check.C) {
|
func (s *DockerNetworkSuite) TestDockerNetworkStartAPIWithHostconfig(c *check.C) {
|
||||||
netName := "test"
|
netName := "test"
|
||||||
conName := "foo"
|
conName := "foo"
|
||||||
|
|
Loading…
Add table
Reference in a new issue