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:
parent
ae97477284
commit
7ff65d40d5
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue