Fix logic flaw in builder.mergeConfig
Upstream-commit: 04748a77664c89340b789ef0a25d65b78477dce0 Component: engine
This commit is contained in:
@ -45,7 +45,7 @@ func (builder *Builder) mergeConfig(userConf, imageConf *Config) {
|
||||
userConf.PortSpecs = imageConf.PortSpecs
|
||||
}
|
||||
if !userConf.Tty {
|
||||
userConf.Tty = userConf.Tty
|
||||
userConf.Tty = imageConf.Tty
|
||||
}
|
||||
if !userConf.OpenStdin {
|
||||
userConf.OpenStdin = imageConf.OpenStdin
|
||||
|
||||
Reference in New Issue
Block a user