Skip to content

Commit

Permalink
Merge pull request opencontainers#429 from wking/terminal-omitempty
Browse files Browse the repository at this point in the history
specs-go/config.go: Make Process.Terminal omitempty
  • Loading branch information
hqhq committed May 10, 2016
2 parents d33a8e1 + 41e94ae commit be76764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Spec struct {
// Process contains information to start a specific application inside the container.
type Process struct {
// Terminal creates an interactive terminal for the container.
Terminal bool `json:"terminal"`
Terminal bool `json:"terminal,omitempty"`
// User specifies user information for the process.
User User `json:"user"`
// Args specifies the binary and arguments for the application to execute.
Expand Down

0 comments on commit be76764

Please sign in to comment.