Merge pull request #1053 from dynport/do-not-copy-hostname-from-image

do not merge hostname from image
This commit is contained in:
Guillaume J. Charmes 2013-07-03 10:34:15 -07:00
commit 16c8a10ef9

View file

@ -53,9 +53,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
}