Skip to content

Merge pull request #259 from controlplaneio/dependabot/go_modules/k8s… #276

Merge pull request #259 from controlplaneio/dependabot/go_modules/k8s…

Merge pull request #259 from controlplaneio/dependabot/go_modules/k8s… #276

GitHub Actions / golangci succeeded Sep 9, 2024 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (7)

cmd/main.go|33 col 19| Error return value of logger.Sync is not checked (errcheck)
pkg/ruler/rule_test.go|60 col 12| printf: non-constant format string in call to (*testing.common).Errorf (govet)
pkg/report/writer.go|10 col 2| 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)
cmd/scan.go|6 col 2| 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)
pkg/rules/capSysAdmin.go|20 col 5| SA4023: this comparison is always true (staticcheck)
pkg/rules/capSysAdmin.go|16 col 12| SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck)
../../../go/pkg/mod/github.com/thedevsaddam/gojsonq/[email protected]/jsonq.go|515 col 17| SA4023(related information): (*github.com/thedevsaddam/gojsonq/v2.JSONQ).Only never returns a nil interface value (staticcheck)