Update listing with threatintel-2024-10-11_01-29-46 #2465
Annotations
10 errors and 1 warning
golangci-lint:
deepfence_bootstrapper/router/cloud_scanner.go#L181
Error return value of `conn.SetReadDeadline` is not checked (errcheck)
|
golangci-lint:
deepfence_bootstrapper/router/cloud_scanner.go#L182
unslice: could simplify buf[:] to buf (gocritic)
|
golangci-lint:
deepfence_bootstrapper/router/upgrade.go#L82
exitAfterDefer: log.Fatal will exit, and `defer os.Remove(dir)` will not run (gocritic)
|
golangci-lint:
deepfence_bootstrapper/router/cloud_scanner.go#L192
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
|
golangci-lint:
deepfence_bootstrapper/main.go#L133
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
deepfence_bootstrapper/main.go#L149
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
deepfence_bootstrapper/main.go#L164
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
deepfence_bootstrapper/main.go#L49
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
deepfence_bootstrapper/main.go#L39
var `binaryOnly` is unused (unused)
|
golangci-lint
issues found
|
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/
|
Loading