From 47740802f8afd5a5fdd000065627babf9e69cc88 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 14 Sep 2016 16:21:45 -0700 Subject: [PATCH] specs-go/config: Drop "this field is platform dependent" These comments first landed in 820131db (*: flatten platform dependent source, 2016-03-08, #310). But you can tell they're platform dependent by the platform:"..." tags. The Go comment doesn't add any additional information. Signed-off-by: W. Trevor King --- specs-go/config.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specs-go/config.go b/specs-go/config.go index de42035f8..8756e1a21 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -47,20 +47,20 @@ type Process struct { // NoNewPrivileges controls whether additional privileges could be gained by processes in the container. NoNewPrivileges bool `json:"noNewPrivileges,omitempty"` - // ApparmorProfile specifies the apparmor profile for the container. (this field is platform dependent) + // ApparmorProfile specifies the apparmor profile for the container. ApparmorProfile string `json:"apparmorProfile,omitempty" platform:"linux"` - // SelinuxLabel specifies the selinux context that the container process is run as. (this field is platform dependent) + // SelinuxLabel specifies the selinux context that the container process is run as. SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"` } // User specifies Linux/Solaris specific user and group information // for the container process. type User struct { - // UID is the user id. (this field is platform dependent) + // UID is the user id. UID uint32 `json:"uid" platform:"linux,solaris"` - // GID is the group id. (this field is platform dependent) + // GID is the group id. GID uint32 `json:"gid" platform:"linux,solaris"` - // AdditionalGids are additional group ids set for the container's process. (this field is platform dependent) + // AdditionalGids are additional group ids set for the container's process. AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux,solaris"` }