ソースを参照

Use correct fn for resizing TTY

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Brian Goff 9 年 前
コミット
3260ddb10b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      api/client/utils.go

+ 1 - 1
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)