Rebased with spec changes

Signed-off-by: rajasec <rajasec79@gmail.com>
This commit is contained in:
rajasec 2016-04-12 13:11:51 +05:30
parent c6db82f921
commit d663afe2a3
1 changed files with 0 additions and 4 deletions

View File

@ -540,10 +540,6 @@ func setupUserNamespace(spec *specs.Spec, config *configs.Config) error {
if len(spec.Linux.UIDMappings) == 0 {
return nil
}
// do not override the specified user namespace path
if config.Namespaces.PathOf(configs.NEWUSER) == "" {
config.Namespaces.Add(configs.NEWUSER, "")
}
create := func(m specs.IDMapping) configs.IDMap {
return configs.IDMap{
HostID: int(m.HostID),