Skip to content

fix(deps): update module github.com/rancher/wrangler/v2 to v2.2.0-rc6 #7

fix(deps): update module github.com/rancher/wrangler/v2 to v2.2.0-rc6

fix(deps): update module github.com/rancher/wrangler/v2 to v2.2.0-rc6 #7

Triggered via pull request December 1, 2023 03:34
Status Failure
Total duration 1m 23s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/controller/controller.go#L165
dynamicFmtString: use errors.New(resp.Error) or fmt.Errorf("%s", resp.Error) instead (gocritic)
lint: pkg/controller/controller.go#L33
hugeParam: config is heavy (128 bytes); consider passing it by pointer (gocritic)
lint: pkg/controller/controller.go#L60
hugeParam: config is heavy (128 bytes); consider passing it by pointer (gocritic)
lint: pkg/controller/controller.go#L87
hugeParam: config is heavy (128 bytes); consider passing it by pointer (gocritic)
lint: pkg/controller/controller.go#L7
File is not `goimports`-ed (goimports)
lint: pkg/commands/controllers/controllers.go#L4
File is not `goimports`-ed (goimports)
lint: pkg/controller/controller.go#L139
response body must be closed (bodyclose)
lint: pkg/controller/controller.go#L125
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
lint: pkg/controller/controller.go#L12
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: pkg/types/types.go#L12
ST1003: struct field JwksUri should be JwksURI (stylecheck)