Merge pull request #14383 from runcom/runconfig-merge-cleanup

add break after key is found in for loop
This commit is contained in:
Alexander Morozov 2015-07-03 15:18:09 -07:00
commit 90bc5513a9

View file

@ -33,6 +33,7 @@ func Merge(userConf, imageConf *Config) error {
userEnvKey := strings.Split(userEnv, "=")[0]
if imageEnvKey == userEnvKey {
found = true
break
}
}
if !found {