mirror of https://github.com/docker/docs.git
Merge pull request #18557 from cpuguy83/use_correct_resize_fn
Use correct fn for resizing TTY
This commit is contained in:
commit
a0f80079b8
|
@ -43,7 +43,7 @@ func (cli *DockerCli) resizeTty(id string, isExec bool) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
if !isExec {
|
if isExec {
|
||||||
err = cli.client.ContainerExecResize(options)
|
err = cli.client.ContainerExecResize(options)
|
||||||
} else {
|
} else {
|
||||||
err = cli.client.ContainerResize(options)
|
err = cli.client.ContainerResize(options)
|
||||||
|
|
Loading…
Reference in New Issue