client/hijack.go:85:16: SA1019: httputil.NewClientConn is deprecated: Use the Client or Transport in package net/http instead. (staticcheck)
integration-cli/docker_api_attach_test.go:245:12: SA1019: httputil.NewClientConn is deprecated: Use the Client or Transport in package net/http instead. (staticcheck)
integration/plugin/authz/authz_plugin_test.go:180:7: SA1019: httputil.NewClientConn is deprecated: Use the Client or Transport in package net/http instead. (staticcheck)
integration/plugin/authz/authz_plugin_test.go:479:12: SA1019: httputil.NewClientConn is deprecated: Use the Client or Transport in package net/http instead. (staticcheck)
These warnings are currently suppressed in hack/validate/golangci-lint.yml (after https://github.com/moby/moby/pull/39668 is merged), so when this is fixed, those lines should be removed
hm okay; I think in that case we may want to keep the exclusion rule for the linter (possibly add "ignore" comments to the code itself), but explain why it's still used
Tracking issue for some remaining linting issues to be fixed after https://github.com/moby/moby/pull/39668 is merged.
These warnings are currently suppressed in
hack/validate/golangci-lint.yml
(after https://github.com/moby/moby/pull/39668 is merged), so when this is fixed, those lines should be removed