Merge pull request #1053 from dynport/do-not-copy-hostname-from-image
do not merge hostname from image
This commit is contained in:
commit
16c8a10ef9
1 changed files with 0 additions and 3 deletions
3
utils.go
3
utils.go
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue