Skip to content

Commit

Permalink
Merge pull request opencontainers#425 from amitsaha/uid_gid_fix
Browse files Browse the repository at this point in the history
UID and GID for the main process are not optional
  • Loading branch information
Michael Crosby committed May 6, 2016
2 parents 9066491 + 815ce4e commit dbce512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ type Process struct {
// main process.
type User struct {
// UID is the user id. (this field is platform dependent)
UID uint32 `json:"uid,omitempty" platform:"linux"`
UID uint32 `json:"uid" platform:"linux"`
// GID is the group id. (this field is platform dependent)
GID uint32 `json:"gid,omitempty" platform:"linux"`
GID uint32 `json:"gid" platform:"linux"`
// AdditionalGids are additional group ids set for the container's process. (this field is platform dependent)
AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux"`
}
Expand Down

0 comments on commit dbce512

Please sign in to comment.