mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-19 04:07:34 +00:00
Add break after key is found in for loop
Signed-off-by: Antonio Murdaca <runcom@linux.com>
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