Skip to content

Update listing with threatintel-2024-10-03_13-07-54 #2433

Update listing with threatintel-2024-10-03_13-07-54

Update listing with threatintel-2024-10-03_13-07-54 #2433

Triggered via push October 3, 2024 13:13
Status Failure
Total duration 1m 0s
Artifacts
lint-server
30s
lint-server
lint-bootstrapper
31s
lint-bootstrapper
lint-utils
49s
lint-utils
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
lint-server: deepfence_server/main.go#L32
SA1019: "go.opentelemetry.io/otel/exporters/jaeger" is deprecated: This module is no longer supported. OpenTelemetry dropped support for Jaeger exporter in July 2023. Jaeger officially accepts and recommends using OTLP. Use [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp] or [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc] instead. (staticcheck)
lint-server: deepfence_server/model/license.go#L137
S1002: should omit comparison to bool constant, can be simplified to `!licenseResp.Success` (gosimple)
lint-server: deepfence_server/model/license.go#L193
S1002: should omit comparison to bool constant, can be simplified to `!licenseResp.Success` (gosimple)
lint-server: deepfence_server/controls/agent.go#L659
commentFormatting: put a space between `//` and comment text (gocritic)
lint-server: deepfence_server/controls/agent.go#L81
ineffectual assignment to workNumToExtract (ineffassign)
lint-server: deepfence_server/controls/kubernetes_cluster.go#L41
ineffectual assignment to workNumToExtract (ineffassign)
lint-server: deepfence_server/apiDocs/operation.go#L654
commentFormatting: put a space between `//` and comment text (gocritic)
lint-server: deepfence_server/diagnosis/console-diagnosis/kubernetes.go#L185
ineffectual assignment to ctx (ineffassign)
lint-server: deepfence_server/pkg/registry/acr/client.go#L61
File is not `gofmt`-ed with `-s` (gofmt)
lint-bootstrapper: deepfence_bootstrapper/supervisor/process.go#L355
commentFormatting: put a space between `//` and comment text (gocritic)
lint-server: deepfence_server/pkg/registry/acr/client.go#L62
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint-bootstrapper: deepfence_bootstrapper/router/cloud_scanner.go#L181
Error return value of `conn.SetReadDeadline` is not checked (errcheck)
lint-bootstrapper: deepfence_bootstrapper/router/cloud_scanner.go#L182
unslice: could simplify buf[:] to buf (gocritic)
lint-bootstrapper: deepfence_bootstrapper/router/upgrade.go#L82
exitAfterDefer: log.Fatal will exit, and `defer os.Remove(dir)` will not run (gocritic)
lint-bootstrapper: deepfence_bootstrapper/router/cloud_scanner.go#L192
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
lint-bootstrapper: deepfence_bootstrapper/main.go#L133
commentFormatting: put a space between `//` and comment text (gocritic)
lint-bootstrapper: deepfence_bootstrapper/main.go#L149
commentFormatting: put a space between `//` and comment text (gocritic)
lint-bootstrapper: deepfence_bootstrapper/main.go#L49
ifElseChain: rewrite if-else to switch statement (gocritic)
lint-bootstrapper: deepfence_bootstrapper/main.go#L39
var `binaryOnly` is unused (unused)
lint-bootstrapper
issues found
lint-utils
golangci-lint exit with code 3
lint-server
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/
lint-server
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/
lint-bootstrapper
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, 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/
lint-utils
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, 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/