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:
@@ -33,6 +33,7 @@ func Merge(userConf, imageConf *Config) error {
|
||||
userEnvKey := strings.Split(userEnv, "=")[0]
|
||||
if imageEnvKey == userEnvKey {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
if !found {
|
||||
|
||||
Reference in New Issue
Block a user