Merge pull request #638 from hqhq/hq_fix_bootstrapData

Fix encoding gid mappings
This commit is contained in:
Michael Crosby 2016-03-14 11:55:12 -07:00
commit 732a0fb440
1 changed files with 1 additions and 1 deletions

View File

@ -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
}