Merge pull request #18557 from cpuguy83/use_correct_resize_fn
Use correct fn for resizing TTY
This commit is contained in:
commit
a0f80079b8
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue