Signed-off-by: Jannick Fahlbusch <git@jf-projects.de>
| ... | ... |
@@ -164,7 +164,7 @@ func (cli *DockerCli) GetTtySize() (int, int) {
|
| 164 | 164 |
return int(ws.Height), int(ws.Width) |
| 165 | 165 |
} |
| 166 | 166 |
|
| 167 |
-// CopyToFile writes the content of the reader to the specifed file |
|
| 167 |
+// CopyToFile writes the content of the reader to the specified file |
|
| 168 | 168 |
func CopyToFile(outfile string, r io.Reader) error {
|
| 169 | 169 |
tmpFile, err := ioutil.TempFile(filepath.Dir(outfile), ".docker_temp_") |
| 170 | 170 |
if err != nil {
|
| ... | ... |
@@ -208,7 +208,7 @@ func (cli *DockerCli) RetrieveAuthConfigs() map[string]types.AuthConfig {
|
| 208 | 208 |
return acs |
| 209 | 209 |
} |
| 210 | 210 |
|
| 211 |
-// ForwardAllSignals forwards signals to the contianer |
|
| 211 |
+// ForwardAllSignals forwards signals to the container |
|
| 212 | 212 |
// TODO: this can be unexported again once all container commands are under |
| 213 | 213 |
// api/client/container |
| 214 | 214 |
func (cli *DockerCli) ForwardAllSignals(ctx context.Context, cid string) chan os.Signal {
|
| ... | ... |
@@ -133,7 +133,7 @@ func handleProbeResult(d *Daemon, c *container.Container, result *types.Healthch |
| 133 | 133 |
} else if result.ExitCode == exitStatusStarting && c.State.Health.Status == types.Starting {
|
| 134 | 134 |
// The container is not ready yet. Remain in the starting state. |
| 135 | 135 |
} else {
|
| 136 |
- // Failure (incuding invalid exit code) |
|
| 136 |
+ // Failure (including invalid exit code) |
|
| 137 | 137 |
h.FailingStreak++ |
| 138 | 138 |
if c.State.Health.FailingStreak >= retries {
|
| 139 | 139 |
h.Status = types.Unhealthy |
| ... | ... |
@@ -264,7 +264,7 @@ func (clnt *client) Stats(containerID string) (*Stats, error) {
|
| 264 | 264 |
} |
| 265 | 265 |
|
| 266 | 266 |
// Take care of the old 1.11.0 behavior in case the version upgrade |
| 267 |
-// happenned without a clean daemon shutdown |
|
| 267 |
+// happened without a clean daemon shutdown |
|
| 268 | 268 |
func (clnt *client) cleanupOldRootfs(containerID string) {
|
| 269 | 269 |
// Unmount and delete the bundle folder |
| 270 | 270 |
if mts, err := mount.GetMounts(); err == nil {
|