Merge pull request #430 from wking/readonly-omitempty

specs-go/config.go: Make Root.Readonly omitempty
This commit is contained in:
Qiang Huang 2016-05-10 17:21:30 +08:00
commit d33a8e17cb
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ type Root struct {
// Path is the absolute path to the container's root filesystem.
Path string `json:"path"`
// Readonly makes the root filesystem for the container readonly before the process is executed.
Readonly bool `json:"readonly"`
Readonly bool `json:"readonly,omitempty"`
}
// Platform specifies OS and arch information for the host system that the container