mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Capitalize [UG]idMappings as [UG]IDMappings
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
This commit is contained in:
@@ -945,8 +945,8 @@ next:
|
||||
|
||||
func setupUserNamespace(spec *specs.Spec, config *configs.Config) error {
|
||||
if spec.Linux != nil {
|
||||
config.UidMappings = toConfigIDMap(spec.Linux.UIDMappings)
|
||||
config.GidMappings = toConfigIDMap(spec.Linux.GIDMappings)
|
||||
config.UIDMappings = toConfigIDMap(spec.Linux.UIDMappings)
|
||||
config.GIDMappings = toConfigIDMap(spec.Linux.GIDMappings)
|
||||
}
|
||||
rootUID, err := config.HostRootUID()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user