swap to metal-toolbox/bmc-common #1614
Annotations
10 errors and 1 warning
golangci-lint:
cmd/common.go#L88
unnecessary leading newline (whitespace)
|
golangci-lint:
cmd/common.go#L97
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
golangci-lint:
cmd/get/firmware-set.go#L104
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
golangci-lint:
internal/fleetdb/methods.go#L57
The copy of the 'for' variable "va" can be deleted (Go 1.22+) (copyloopvar)
|
golangci-lint:
internal/fleetdb/methods.go#L93
The copy of the 'for' variable "a" can be deleted (Go 1.22+) (copyloopvar)
|
golangci-lint:
internal/fleetdb/methods.go#L127
The copy of the 'for' variable "vattr" can be deleted (Go 1.22+) (copyloopvar)
|
golangci-lint:
internal/fleetdb/methods.go#L145
The copy of the 'for' variable "attr" can be deleted (Go 1.22+) (copyloopvar)
|
golangci-lint:
internal/fleetdb/methods.go#L180
The copy of the 'for' variable "attr" can be deleted (Go 1.22+) (copyloopvar)
|
golangci-lint:
cmd/list/firmware_set.go#L48
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"no fw sets identified\")" (err113)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading