From bba3d5c19cedeb0babb08bd755d21673517a17dd Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 21 Sep 2016 16:34:38 -0700 Subject: [PATCH] specs-go/config: Make consoleSize a pointer Otherwise we it will never be omitted when empty. This is the same case as 6323157 (specs-go/config: Make Linux and Solaris omitempty (again), 2016-06-17, #502). Signed-off-by: W. Trevor King --- specs-go/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs-go/config.go b/specs-go/config.go index 420839440..862b122a3 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -32,7 +32,7 @@ type Process struct { // Terminal creates an interactive terminal for the container. Terminal bool `json:"terminal,omitempty"` // ConsoleSize specifies the size of the console. - ConsoleSize Box `json:"consoleSize,omitempty"` + ConsoleSize *Box `json:"consoleSize,omitempty"` // User specifies user information for the process. User User `json:"user"` // Args specifies the binary and arguments for the application to execute.