do not merge hostname from image
Upstream-commit: 9bfec5a5389207cba4cdbdd7eafc692c65278ce0 Component: engine
This commit is contained in:
@ -49,9 +49,6 @@ func CompareConfig(a, b *Config) bool {
|
||||
}
|
||||
|
||||
func MergeConfig(userConf, imageConf *Config) {
|
||||
if userConf.Hostname == "" {
|
||||
userConf.Hostname = imageConf.Hostname
|
||||
}
|
||||
if userConf.User == "" {
|
||||
userConf.User = imageConf.User
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user