Skip to content

Commit d33a8e1

Browse files
committed
Merge pull request #430 from wking/readonly-omitempty
specs-go/config.go: Make Root.Readonly omitempty
2 parents adea03f + f307cfc commit d33a8e1

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
@@ -71,7 +71,7 @@ type Root struct {
7171
// Path is the absolute path to the container's root filesystem.
7272
Path string `json:"path"`
7373
// Readonly makes the root filesystem for the container readonly before the process is executed.
74-
Readonly bool `json:"readonly"`
74+
Readonly bool `json:"readonly,omitempty"`
7575
}
7676

7777
// Platform specifies OS and arch information for the host system that the container

0 commit comments

Comments
 (0)