Most exploitable dashboard changes (#2327) #2435
Annotations
10 errors and 2 warnings
golangci-lint:
deepfence_server/pkg/registry/acr/client.go#L61
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
deepfence_server/pkg/registry/acr/client.go#L62
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
golangci-lint:
deepfence_server/pkg/registry/jfrog/client.go#L72
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
deepfence_server/pkg/registry/jfrog/client.go#L73
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
golangci-lint:
deepfence_server/model/license.go#L137
S1002: should omit comparison to bool constant, can be simplified to `!licenseResp.Success` (gosimple)
|
golangci-lint:
deepfence_server/model/license.go#L193
S1002: should omit comparison to bool constant, can be simplified to `!licenseResp.Success` (gosimple)
|
golangci-lint:
deepfence_server/handler/export_reports.go#L462
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
deepfence_server/handler/export_reports.go#L498
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
deepfence_server/handler/license.go#L95
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
golangci-lint:
deepfence_server/handler/license.go#L90
ifElseChain: rewrite if-else to switch statement (gocritic)
|
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/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading