Merge pull request #18557 from cpuguy83/use_correct_resize_fn
Use correct fn for resizing TTY Upstream-commit: a0f80079b8e699b992f34cc76a97ba578421fdbb Component: engine
This commit is contained in:
@@ -43,7 +43,7 @@ func (cli *DockerCli) resizeTty(id string, isExec bool) {
|
||||
}
|
||||
|
||||
var err error
|
||||
if !isExec {
|
||||
if isExec {
|
||||
err = cli.client.ContainerExecResize(options)
|
||||
} else {
|
||||
err = cli.client.ContainerResize(options)
|
||||
|
||||
Reference in New Issue
Block a user