Skip to content

Commit d3f079a

Browse files
committed
config.go: make umask a pointer
otherwise it is not possible to know whether it was specified or it is set to 0. Signed-off-by: Giuseppe Scrivano <[email protected]>
1 parent 3e4195d commit d3f079a

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
@@ -90,7 +90,7 @@ type User struct {
9090
// GID is the group id.
9191
GID uint32 `json:"gid" platform:"linux,solaris"`
9292
// Umask is the umask for the init process.
93-
Umask uint32 `json:"umask,omitempty" platform:"linux,solaris"`
93+
Umask *uint32 `json:"umask,omitempty" platform:"linux,solaris"`
9494
// AdditionalGids are additional group ids set for the container's process.
9595
AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux,solaris"`
9696
// Username is the user name.

0 commit comments

Comments
 (0)