Files
moby/builder/dockerfile
Sebastiaan van Stijn 544b1574e2 builder/dockerfile: fix shadowed variables (govet)
builder/dockerfile/builder.go:361:2: shadow: declaration of "dispatchRequest" shadows declaration at line 189 (govet)
        dispatchRequest := newDispatchRequest(b, dockerfile.EscapeToken, nil, NewBuildArgs(b.options.BuildArgs), newStagesBuildResults())
        ^
    builder/dockerfile/copy.go:217:2: shadow: declaration of "copyInfo" shadows declaration at line 39 (govet)
        copyInfo, err := copyInfoForFile(o.source, origPath)
        ^
    builder/dockerfile/dispatchers.go:97:2: shadow: declaration of "copyInstruction" shadows declaration at line 60 (govet)
        copyInstruction, err := copier.createCopyInstruction(c.SourcesAndDest, "ADD")
        ^
    builder/dockerfile/dispatchers.go:124:2: shadow: declaration of "copyInstruction" shadows declaration at line 60 (govet)
        copyInstruction, err := copier.createCopyInstruction(c.SourcesAndDest, "COPY")
        ^
    builder/dockerfile/dispatchers.go:162:3: shadow: declaration of "v" shadows declaration at line 161 (govet)
            v, err := d.getExpandedString(d.shlex, v)
            ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-06 12:54:52 +01:00
..
2023-05-19 20:38:51 +02:00
2023-05-19 20:38:51 +02:00
2019-09-18 12:56:54 +02:00
2024-06-27 23:18:46 +02:00