mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix Typos: continer,contianer -> container
Signed-off-by: Chen Min <chenmin46@huawei.com>
This commit is contained in:
parent
555bd548ca
commit
2b62eb434b
3 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/docker/docker/api/types/versions"
|
"github.com/docker/docker/api/types/versions"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ContainerWait waits until the specified continer is in a certain state
|
// ContainerWait waits until the specified container is in a certain state
|
||||||
// indicated by the given condition, either "not-running" (default),
|
// indicated by the given condition, either "not-running" (default),
|
||||||
// "next-exit", or "removed".
|
// "next-exit", or "removed".
|
||||||
//
|
//
|
||||||
|
|
|
@ -180,7 +180,7 @@ const (
|
||||||
WaitConditionRemoved
|
WaitConditionRemoved
|
||||||
)
|
)
|
||||||
|
|
||||||
// Wait waits until the continer is in a certain state indicated by the given
|
// Wait waits until the container is in a certain state indicated by the given
|
||||||
// condition. A context must be used for cancelling the request, controlling
|
// condition. A context must be used for cancelling the request, controlling
|
||||||
// timeouts, and avoiding goroutine leaks. Wait must be called without holding
|
// timeouts, and avoiding goroutine leaks. Wait must be called without holding
|
||||||
// the state lock. Returns a channel from which the caller will receive the
|
// the state lock. Returns a channel from which the caller will receive the
|
||||||
|
|
|
@ -448,7 +448,7 @@ func (s *DockerSwarmSuite) TestOverlayAttachableReleaseResourcesOnFailure(c *che
|
||||||
out, err = d.Cmd("run", "-d", "--network", "ovnet", "--name", "c1", "--ip", "10.10.9.33", "busybox", "top")
|
out, err = d.Cmd("run", "-d", "--network", "ovnet", "--name", "c1", "--ip", "10.10.9.33", "busybox", "top")
|
||||||
c.Assert(err, checker.IsNil, check.Commentf(out))
|
c.Assert(err, checker.IsNil, check.Commentf(out))
|
||||||
|
|
||||||
// Attempt to attach another contianer with same IP, must fail
|
// Attempt to attach another container with same IP, must fail
|
||||||
_, err = d.Cmd("run", "-d", "--network", "ovnet", "--name", "c2", "--ip", "10.10.9.33", "busybox", "top")
|
_, err = d.Cmd("run", "-d", "--network", "ovnet", "--name", "c2", "--ip", "10.10.9.33", "busybox", "top")
|
||||||
c.Assert(err, checker.NotNil)
|
c.Assert(err, checker.NotNil)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue