mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use correct fn for resizing TTY
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
parent
1d775a54cc
commit
3260ddb10b
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…
Reference in a new issue