Use correct fn for resizing TTY
Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: 3260ddb10bff8d1b5cabe547ecb77e19d379a3c6 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