mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
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