Skip to content

Commit 9151c77

Browse files
Merge pull request #856 from jhowardmsft/redundancy
Remove redundancy in config.go
2 parents 2ec18c0 + bf1ee91 commit 9151c77

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
@@ -23,9 +23,9 @@ type Spec struct {
2323

2424
// Linux is platform-specific configuration for Linux based containers.
2525
Linux *Linux `json:"linux,omitempty" platform:"linux"`
26-
// Solaris is platform-specific configuration for Solaris containers.
26+
// Solaris is platform-specific configuration for Solaris based containers.
2727
Solaris *Solaris `json:"solaris,omitempty" platform:"solaris"`
28-
// Windows is platform-specific configuration for Windows based containers, including Hyper-V containers.
28+
// Windows is platform-specific configuration for Windows based containers.
2929
Windows *Windows `json:"windows,omitempty" platform:"windows"`
3030
}
3131

@@ -144,9 +144,9 @@ type Hooks struct {
144144

145145
// Linux contains platform-specific configuration for Linux based containers.
146146
type Linux struct {
147-
// UIDMapping specifies user mappings for supporting user namespaces on Linux.
147+
// UIDMapping specifies user mappings for supporting user namespaces.
148148
UIDMappings []LinuxIDMapping `json:"uidMappings,omitempty"`
149-
// GIDMapping specifies group mappings for supporting user namespaces on Linux.
149+
// GIDMapping specifies group mappings for supporting user namespaces.
150150
GIDMappings []LinuxIDMapping `json:"gidMappings,omitempty"`
151151
// Sysctl are a set of key value pairs that are set for the container on start
152152
Sysctl map[string]string `json:"sysctl,omitempty"`
@@ -178,7 +178,7 @@ type Linux struct {
178178

179179
// LinuxNamespace is the configuration for a Linux namespace
180180
type LinuxNamespace struct {
181-
// Type is the type of Linux namespace
181+
// Type is the type of namespace
182182
Type LinuxNamespaceType `json:"type"`
183183
// Path is a path to an existing namespace persisted on disk that can be joined
184184
// and is of the same type

0 commit comments

Comments
 (0)