Merge pull request #429 from wking/terminal-omitempty

specs-go/config.go: Make Process.Terminal omitempty
This commit is contained in:
Qiang Huang 2016-05-10 17:23:43 +08:00
commit be7676409b
1 changed files with 1 additions and 1 deletions

View File

@ -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.