gofmt
This commit is contained in:
parent
966cd03499
commit
dd4191ad3d
|
|
@ -65,7 +65,7 @@ func runCommandInExec(config *v1.Config, buildArgs *dockerfile.BuildArgs, cmdRun
|
||||||
newCommand = cmdRun.CmdLine
|
newCommand = cmdRun.CmdLine
|
||||||
// Find and set absolute path of executable by setting PATH temporary
|
// Find and set absolute path of executable by setting PATH temporary
|
||||||
replacementEnvs := buildArgs.ReplacementEnvs(config.Env)
|
replacementEnvs := buildArgs.ReplacementEnvs(config.Env)
|
||||||
for _, v := range replacementEnvs{
|
for _, v := range replacementEnvs {
|
||||||
entry := strings.SplitN(v, "=", 2)
|
entry := strings.SplitN(v, "=", 2)
|
||||||
if entry[0] != "PATH" {
|
if entry[0] != "PATH" {
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue