Skip to content

Commit 2c41403

Browse files
author
Abhijeeth Nuthan
committed
Correction to User struct in specs-go/config.json
Signed-off-by: Abhijeeth Nuthan <[email protected]>
1 parent 2f0fa18 commit 2c41403

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specs-go/config.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ type Process struct {
5353
SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"`
5454
}
5555

56-
// User specifies Linux specific user and group information for the container's
56+
// User specifies Linux/Solaris specific user and group information for the container's
5757
// main process.
5858
type User struct {
5959
// UID is the user id. (this field is platform dependent)
60-
UID uint32 `json:"uid" platform:"linux"`
60+
UID uint32 `json:"uid" platform:"linux,solaris"`
6161
// GID is the group id. (this field is platform dependent)
62-
GID uint32 `json:"gid" platform:"linux"`
62+
GID uint32 `json:"gid" platform:"linux,solaris"`
6363
// AdditionalGids are additional group ids set for the container's process. (this field is platform dependent)
64-
AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux"`
64+
AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux,solaris"`
6565
}
6666

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

0 commit comments

Comments
 (0)