Merge pull request #18557 from cpuguy83/use_correct_resize_fn

Use correct fn for resizing TTY
This commit is contained in:
David Calavera 2015-12-10 12:37:13 -08:00
commit a0f80079b8
1 changed files with 1 additions and 1 deletions

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)