From c83c65ccd5ea0489dc0e06aff981b0c4911c354c Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Mon, 31 Aug 2015 14:34:53 -0700 Subject: [PATCH] Return golint-compliant naming for mappings It was lost in pull request about runtime config Signed-off-by: Alexander Morozov --- runtime_config_linux.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime_config_linux.go b/runtime_config_linux.go index 7a8b4953..e56265b9 100644 --- a/runtime_config_linux.go +++ b/runtime_config_linux.go @@ -10,10 +10,10 @@ type LinuxRuntimeSpec struct { } type LinuxRuntime struct { - // UidMapping specifies user mappings for supporting user namespaces on linux. - UidMappings []IDMapping `json:"uidMappings"` - // UidMapping specifies group mappings for supporting user namespaces on linux. - GidMappings []IDMapping `json:"gidMappings"` + // UIDMapping specifies user mappings for supporting user namespaces on linux. + UIDMappings []IDMapping `json:"uidMappings"` + // GIDMapping specifies group mappings for supporting user namespaces on linux. + GIDMappings []IDMapping `json:"gidMappings"` // Rlimits specifies rlimit options to apply to the container's process. Rlimits []Rlimit `json:"rlimits"` // Sysctl are a set of key value pairs that are set for the container on start