Merge pull request #18557 from cpuguy83/use_correct_resize_fn

Use correct fn for resizing TTY
Upstream-commit: a0f80079b8e699b992f34cc76a97ba578421fdbb
Component: engine
This commit is contained in:
David Calavera
2015-12-10 12:37:13 -08:00
+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)