Test #360
Annotations
10 errors and 1 warning
golangci-lint:
pkg/utils/resources.go#L15
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
pkg/monitor/monitor_test.go#L113
The copy of the 'for' variable "testCase" can be deleted (Go 1.22+) (copyloopvar)
|
golangci-lint:
pkg/utils/resources.go#L14
Magic number: 4096, in <argument> detected (mnd)
|
golangci-lint:
cmd/webhook/main.go#L32
Magic number: 8443, in <argument> detected (mnd)
|
golangci-lint:
pkg/controllers/device_controller.go#L264
Magic number: 3, in <argument> detected (mnd)
|
golangci-lint:
pkg/kubeapi/api.go#L35
Magic number: 2, in <argument> detected (mnd)
|
golangci-lint:
pkg/kubeapi/api.go#L39
Magic number: 2, in <argument> detected (mnd)
|
golangci-lint:
pkg/monitor/monitor.go#L80
Magic number: 2, in <argument> detected (mnd)
|
golangci-lint:
pkg/controllers/device_controller_test.go#L79
error-nil: use assert.NoError (testifylint)
|
golangci-lint:
pkg/controllers/device_controller_test.go#L80
bool-compare: use assert.False (testifylint)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading