Signed-off-by: Chen Min <chenmin46@huawei.com>
| ... | ... |
@@ -10,7 +10,7 @@ import ( |
| 10 | 10 |
"github.com/docker/docker/api/types/versions" |
| 11 | 11 |
) |
| 12 | 12 |
|
| 13 |
-// ContainerWait waits until the specified continer is in a certain state |
|
| 13 |
+// ContainerWait waits until the specified container is in a certain state |
|
| 14 | 14 |
// indicated by the given condition, either "not-running" (default), |
| 15 | 15 |
// "next-exit", or "removed". |
| 16 | 16 |
// |
| ... | ... |
@@ -180,7 +180,7 @@ const ( |
| 180 | 180 |
WaitConditionRemoved |
| 181 | 181 |
) |
| 182 | 182 |
|
| 183 |
-// Wait waits until the continer is in a certain state indicated by the given |
|
| 183 |
+// Wait waits until the container is in a certain state indicated by the given |
|
| 184 | 184 |
// condition. A context must be used for cancelling the request, controlling |
| 185 | 185 |
// timeouts, and avoiding goroutine leaks. Wait must be called without holding |
| 186 | 186 |
// the state lock. Returns a channel from which the caller will receive the |
| ... | ... |
@@ -448,7 +448,7 @@ func (s *DockerSwarmSuite) TestOverlayAttachableReleaseResourcesOnFailure(c *che |
| 448 | 448 |
out, err = d.Cmd("run", "-d", "--network", "ovnet", "--name", "c1", "--ip", "10.10.9.33", "busybox", "top")
|
| 449 | 449 |
c.Assert(err, checker.IsNil, check.Commentf(out)) |
| 450 | 450 |
|
| 451 |
- // Attempt to attach another contianer with same IP, must fail |
|
| 451 |
+ // Attempt to attach another container with same IP, must fail |
|
| 452 | 452 |
_, err = d.Cmd("run", "-d", "--network", "ovnet", "--name", "c2", "--ip", "10.10.9.33", "busybox", "top")
|
| 453 | 453 |
c.Assert(err, checker.NotNil) |
| 454 | 454 |
|