do not merge hostname from image

Upstream-commit: 9bfec5a5389207cba4cdbdd7eafc692c65278ce0
Component: engine
This commit is contained in:
Tobias Schwab
2013-06-28 15:22:01 +02:00
parent ad4f82e6d2
commit 865986c53d

View File

@ -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
}