1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Actually use the mergeConfig function

This commit is contained in:
Guillaume J. Charmes 2013-05-01 11:22:06 -07:00
parent ae97477284
commit 7ff65d40d5

View file

@ -121,9 +121,8 @@ func (runtime *Runtime) Create(config *Config) (*Container, error) {
return nil, err return nil, err
} }
//runtime.mergeConfig(config, img.Config)
if img.Config != nil { if img.Config != nil {
config = img.Config runtime.mergeConfig(config, img.Config)
} }
if config.Cmd == nil { if config.Cmd == nil {