Test #362
Annotations
10 errors and 1 warning
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/kubeapi/api_test.go#L53
error-nil: use assert.NoError (testifylint)
|
golangci-lint:
pkg/kubeapi/api_test.go#L94
error-nil: use assert.NoError (testifylint)
|
golangci-lint:
pkg/kubeapi/api_test.go#L135
bool-compare: use assert.True (testifylint)
|
golangci-lint:
pkg/kubeapi/api_test.go#L125
require-error: for error assertions use require (testifylint)
|
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/monitor/monitor.go#L80
Magic number: 2, in <argument> detected (mnd)
|
golangci-lint:
pkg/monitor/monitor_test.go#L137
error-nil: use assert.NoError (testifylint)
|
golangci-lint:
pkg/gateway/resources_test.go#L27
nil-compare: use assert.NotNil (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