DockerCLI/cli/trust
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
..
trust.go linting: use consts from stdlib (usestdlibvars) 2022-09-03 21:25:32 +02:00
trust_test.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:45:37 +01:00