Skip to content

Commit

Permalink
Correction to User struct in specs-go/config.json
Browse files Browse the repository at this point in the history
Signed-off-by: Abhijeeth Nuthan <abhijeeth.nuthan@oracle.com>
  • Loading branch information
Abhijeeth Nuthan authored and Ma Shimiao committed Aug 18, 2016
1 parent c906ab4 commit 5cdd883
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ type Process struct {
SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"`
}

// User specifies Linux specific user and group information for the container's
// User specifies Linux/Solaris specific user and group information for the container's
// main process.
type User struct {
// UID is the user id. (this field is platform dependent)
UID uint32 `json:"uid" platform:"linux"`
UID uint32 `json:"uid" platform:"linux,solaris"`
// GID is the group id. (this field is platform dependent)
GID uint32 `json:"gid" platform:"linux"`
GID uint32 `json:"gid" platform:"linux,solaris"`
// AdditionalGids are additional group ids set for the container's process. (this field is platform dependent)
AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux"`
AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux,solaris"`
}

// Root contains information about the container's root filesystem on the host.
Expand Down

0 comments on commit 5cdd883

Please sign in to comment.