Skip to content

Commit bba3d5c

Browse files
committed
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, opencontainers#502). Signed-off-by: W. Trevor King <[email protected]>
1 parent c356a80 commit bba3d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs-go/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type Process struct {
3232
// Terminal creates an interactive terminal for the container.
3333
Terminal bool `json:"terminal,omitempty"`
3434
// ConsoleSize specifies the size of the console.
35-
ConsoleSize Box `json:"consoleSize,omitempty"`
35+
ConsoleSize *Box `json:"consoleSize,omitempty"`
3636
// User specifies user information for the process.
3737
User User `json:"user"`
3838
// Args specifies the binary and arguments for the application to execute.

0 commit comments

Comments
 (0)