Clouds scanner - start scan after cloud resources refresh is complete… #1871
Annotations
10 errors and 1 warning
deepfence_bootstrapper/supervisor/process.go#L355
commentFormatting: put a space between `//` and comment text (gocritic)
|
deepfence_bootstrapper/router/cloud_scanner.go#L117
Error return value of `conn.SetReadDeadline` is not checked (errcheck)
|
deepfence_bootstrapper/router/cloud_scanner.go#L118
unslice: could simplify buf[:] to buf (gocritic)
|
deepfence_bootstrapper/router/upgrade.go#L82
exitAfterDefer: log.Fatal will exit, and `defer os.Remove(dir)` will not run (gocritic)
|
deepfence_bootstrapper/main.go#L133
commentFormatting: put a space between `//` and comment text (gocritic)
|
deepfence_bootstrapper/main.go#L149
commentFormatting: put a space between `//` and comment text (gocritic)
|
deepfence_bootstrapper/main.go#L49
ifElseChain: rewrite if-else to switch statement (gocritic)
|
deepfence_bootstrapper/main.go#L39
var `binaryOnly` is unused (unused)
|
deepfence_bootstrapper/router/cloud_scanner.go#L128
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 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 logs for this run have expired and are no longer available.
Loading