Skip to content

Commit c83c65c

Browse files
committed
Return golint-compliant naming for mappings
It was lost in pull request about runtime config Signed-off-by: Alexander Morozov <[email protected]>
1 parent 4459fb5 commit c83c65c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

runtime_config_linux.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ type LinuxRuntimeSpec struct {
1010
}
1111

1212
type LinuxRuntime struct {
13-
// UidMapping specifies user mappings for supporting user namespaces on linux.
14-
UidMappings []IDMapping `json:"uidMappings"`
15-
// UidMapping specifies group mappings for supporting user namespaces on linux.
16-
GidMappings []IDMapping `json:"gidMappings"`
13+
// UIDMapping specifies user mappings for supporting user namespaces on linux.
14+
UIDMappings []IDMapping `json:"uidMappings"`
15+
// GIDMapping specifies group mappings for supporting user namespaces on linux.
16+
GIDMappings []IDMapping `json:"gidMappings"`
1717
// Rlimits specifies rlimit options to apply to the container's process.
1818
Rlimits []Rlimit `json:"rlimits"`
1919
// Sysctl are a set of key value pairs that are set for the container on start

0 commit comments

Comments
 (0)