mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-08 19:41:54 +02:00
gofmt
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ func runCommandInExec(config *v1.Config, buildArgs *dockerfile.BuildArgs, cmdRun
|
||||
newCommand = cmdRun.CmdLine
|
||||
// Find and set absolute path of executable by setting PATH temporary
|
||||
replacementEnvs := buildArgs.ReplacementEnvs(config.Env)
|
||||
for _, v := range replacementEnvs{
|
||||
for _, v := range replacementEnvs {
|
||||
entry := strings.SplitN(v, "=", 2)
|
||||
if entry[0] != "PATH" {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user