From 2c41403b8660e8d0d53406be26468b09a4f17e17 Mon Sep 17 00:00:00 2001 From: Abhijeeth Nuthan Date: Thu, 9 Jun 2016 11:42:30 -0700 Subject: [PATCH] Correction to User struct in specs-go/config.json Signed-off-by: Abhijeeth Nuthan --- specs-go/config.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specs-go/config.go b/specs-go/config.go index ec99035b..015e032d 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -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.