fix a minor typo in daemon/exec.go
Signed-off-by: Liu Hua <sdu.liu@huawei.com> Upstream-commit: 5b794c413a147dbc06f76caa6f2c32d1f4b1f2ce Component: engine
This commit is contained in:
@@ -74,7 +74,7 @@ func (execConfig *execConfig) Resize(h, w int) error {
|
||||
}
|
||||
|
||||
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)
|
||||
// Storing execs in daemon for easy access via remote API.
|
||||
d.execCommands.Add(execConfig.ID, execConfig)
|
||||
|
||||
Reference in New Issue
Block a user