Add break after key is found in for loop

Signed-off-by: Antonio Murdaca <runcom@linux.com>
Upstream-commit: a5be8034589fe024ce421b4a7d34739be2a1a8af
Component: engine
This commit is contained in:
Antonio Murdaca
2015-07-03 20:37:34 +02:00
parent eb2ef8d257
commit ebc23e68c9
+1
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 {