DockerCLI/cli/command/image/build
Sebastiaan van Stijn 01c5120be7 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>
(cherry picked from commit d3d9301d2d)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-02-27 17:01:45 -05:00
..
context.go linting: use consts from stdlib (usestdlibvars) 2023-02-27 17:01:45 -05:00
context_test.go cli/command/image: remove deprecated io/ioutil and use t.TempDir() 2023-02-27 16:27:36 -05:00
context_unix.go gofmt with go1.17 2022-04-14 16:40:46 +02:00
context_windows.go gofmt with go1.17 2022-04-14 16:40:46 +02:00
dockerignore.go vendor: buildkit v0.8.0-rc2, docker 2020-12-02 21:01:12 +00:00