Merge pull request #638 from hqhq/hq_fix_bootstrapData
Fix encoding gid mappings
This commit is contained in:
commit
732a0fb440
|
@ -1211,7 +1211,7 @@ func (c *linuxContainer) bootstrapData(cloneFlags uintptr, nsMaps map[configs.Na
|
|||
|
||||
// write gid mappings
|
||||
if len(c.config.GidMappings) > 0 {
|
||||
b, err := encodeIDMapping(c.config.UidMappings)
|
||||
b, err := encodeIDMapping(c.config.GidMappings)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue