Clouds scanner - start scan after cloud resources refresh is complete… #1871
Annotations
10 errors and 2 warnings
deepfence_server/pkg/constants/version.go#L17
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
|
deepfence_server/reporters/filter.go#L55
File is not `gofmt`-ed with `-s` (gofmt)
|
deepfence_server/pkg/integration/s3/types.go#L17
var `errAccountIDMissing` is unused (unused)
|
deepfence_server/diagnosis/console-diagnosis/kubernetes.go#L185
ineffectual assignment to ctx (ineffassign)
|
deepfence_server/controls/agent.go#L655
commentFormatting: put a space between `//` and comment text (gocritic)
|
deepfence_server/handler/export_reports.go#L462
ifElseChain: rewrite if-else to switch statement (gocritic)
|
deepfence_server/handler/export_reports.go#L498
ifElseChain: rewrite if-else to switch statement (gocritic)
|
deepfence_server/handler/license.go#L95
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
deepfence_server/handler/license.go#L90
ifElseChain: rewrite if-else to switch statement (gocritic)
|
deepfence_server/pkg/registry/acr/client.go#L61
File is not `gofmt`-ed with `-s` (gofmt)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v4, 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/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
This job failed
Loading