mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
client: ExecCreateOptions: change ConsoleSize to a ConsoleSize type
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -21,7 +21,10 @@ func TestExecConsoleSize(t *testing.T) {
|
||||
result, err := container.Exec(ctx, apiClient, cID, []string{"stty", "size"},
|
||||
func(ec *client.ExecCreateOptions) {
|
||||
ec.TTY = true
|
||||
ec.ConsoleSize = &[2]uint{57, 123}
|
||||
ec.ConsoleSize = client.ConsoleSize{
|
||||
Height: 57,
|
||||
Width: 123,
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user