Merge pull request #1065 from nalind/mapsize

Fix a copy/paste error in libpod initializers
This commit is contained in:
Mrunal Patel 2017-10-24 21:02:36 -07:00 committed by GitHub
commit e6d2d60e4d

View file

@ -50,7 +50,7 @@ func WithStorageConfig(config storage.StoreOptions) RuntimeOption {
rt.config.StorageConfig.UIDMap = make([]idtools.IDMap, len(config.UIDMap))
copy(rt.config.StorageConfig.UIDMap, config.UIDMap)
rt.config.StorageConfig.GIDMap = make([]idtools.IDMap, len(config.UIDMap))
rt.config.StorageConfig.GIDMap = make([]idtools.IDMap, len(config.GIDMap))
copy(rt.config.StorageConfig.GIDMap, config.GIDMap)
return nil