浏览代码

fix a minor typo in daemon/exec.go

Signed-off-by: Liu Hua <sdu.liu@huawei.com>
Liu Hua 10 年之前
父节点
当前提交
5b794c413a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/exec.go

+ 1 - 1
daemon/exec.go

@@ -74,7 +74,7 @@ func (execConfig *execConfig) Resize(h, w int) error {
 }
 }
 
 
 func (d *Daemon) registerExecCommand(execConfig *execConfig) {
 func (d *Daemon) registerExecCommand(execConfig *execConfig) {
-	// Storing execs in container inorder to kill them gracefully whenever the container is stopped or removed.
+	// Storing execs in container in order to kill them gracefully whenever the container is stopped or removed.
 	execConfig.Container.execCommands.Add(execConfig.ID, execConfig)
 	execConfig.Container.execCommands.Add(execConfig.ID, execConfig)
 	// Storing execs in daemon for easy access via remote API.
 	// Storing execs in daemon for easy access via remote API.
 	d.execCommands.Add(execConfig.ID, execConfig)
 	d.execCommands.Add(execConfig.ID, execConfig)