Use correct fn for resizing TTY

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 3260ddb10bff8d1b5cabe547ecb77e19d379a3c6
Component: engine
This commit is contained in:
Brian Goff
2015-12-09 22:55:01 -05:00
parent 4b66f2a240
commit 7e3377f7d7
+1 -1
View File
@@ -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)