Browse Source

Windows: Fix width/height swap

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 7 years ago
parent
commit
f11f351ae7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libcontainerd/client_local_windows.go

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