DockerCLI/cli/command/image/build
Sebastiaan van Stijn d3d9301d2d
linting: use consts from stdlib (usestdlibvars)
cli/command/image/build/context.go:238:23: "400" can be replaced by http.StatusBadRequest (usestdlibvars)
        if resp.StatusCode < 400 {
                             ^
    cli/trust/trust.go:139:30: "GET" can be replaced by http.MethodGet (usestdlibvars)
        req, err := http.NewRequest("GET", endpointStr, nil)
                                    ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-09-03 21:25:32 +02:00
..
context.go linting: use consts from stdlib (usestdlibvars) 2022-09-03 21:25:32 +02:00
context_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:41:55 +01:00
context_unix.go gofmt with go1.17 2022-03-26 20:21:00 +01:00
context_windows.go gofmt with go1.17 2022-03-26 20:21:00 +01:00
dockerignore.go build: replace uses of archive.CanonicalTarNameForPath 2022-08-31 17:55:03 +02:00