From 3260ddb10bff8d1b5cabe547ecb77e19d379a3c6 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Wed, 9 Dec 2015 22:55:01 -0500 Subject: [PATCH] Use correct fn for resizing TTY Signed-off-by: Brian Goff --- api/client/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client/utils.go b/api/client/utils.go index e03ec5ffaa..fd26f746c3 100644 --- a/api/client/utils.go +++ b/api/client/utils.go @@ -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)