Skip to content

Commit 4774080

Browse files
committed
specs-go/config: Drop "this field is platform dependent"
These comments first landed in 820131d (*: flatten platform dependent source, 2016-03-08, opencontainers#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 <[email protected]>
1 parent b3ce195 commit 4774080

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

specs-go/config.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ type Process struct {
4747
// NoNewPrivileges controls whether additional privileges could be gained by processes in the container.
4848
NoNewPrivileges bool `json:"noNewPrivileges,omitempty"`
4949

50-
// ApparmorProfile specifies the apparmor profile for the container. (this field is platform dependent)
50+
// ApparmorProfile specifies the apparmor profile for the container.
5151
ApparmorProfile string `json:"apparmorProfile,omitempty" platform:"linux"`
52-
// SelinuxLabel specifies the selinux context that the container process is run as. (this field is platform dependent)
52+
// SelinuxLabel specifies the selinux context that the container process is run as.
5353
SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"`
5454
}
5555

5656
// User specifies Linux/Solaris specific user and group information
5757
// for the container process.
5858
type User struct {
59-
// UID is the user id. (this field is platform dependent)
59+
// UID is the user id.
6060
UID uint32 `json:"uid" platform:"linux,solaris"`
61-
// GID is the group id. (this field is platform dependent)
61+
// GID is the group id.
6262
GID uint32 `json:"gid" platform:"linux,solaris"`
63-
// AdditionalGids are additional group ids set for the container's process. (this field is platform dependent)
63+
// AdditionalGids are additional group ids set for the container's process.
6464
AdditionalGids []uint32 `json:"additionalGids,omitempty" platform:"linux,solaris"`
6565
}
6666

0 commit comments

Comments
 (0)