1
0
Fork 0
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:
Brian Goff 2015-12-09 22:55:01 -05:00
parent 1d775a54cc
commit 3260ddb10b

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)