From 6025db47128ad06f7ca36cb1de9e76d95178c1bc Mon Sep 17 00:00:00 2001 From: John Howard Date: Tue, 28 Nov 2017 12:19:46 -0800 Subject: [PATCH] Windows: Fix width/height swap Signed-off-by: John Howard Upstream-commit: f11f351ae77e4090f0d80e9cccfd77287b1f6b17 Component: engine --- components/engine/libcontainerd/client_local_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/libcontainerd/client_local_windows.go b/components/engine/libcontainerd/client_local_windows.go index 8ce9dfedab..09872905c4 100644 --- a/components/engine/libcontainerd/client_local_windows.go +++ b/components/engine/libcontainerd/client_local_windows.go @@ -934,7 +934,7 @@ func (c *client) ResizeTerminal(_ context.Context, containerID, processID string "width": width, "pid": p.pid, }).Debug("resizing") - return p.hcsProcess.ResizeConsole(uint16(height), uint16(width)) + return p.hcsProcess.ResizeConsole(uint16(width), uint16(height)) } func (c *client) CloseStdin(_ context.Context, containerID, processID string) error {