dot: use core.ConnPool #886
Annotations
12 errors and 11 warnings
intra/dns53/dot.go#L365
func logev is unused (U1000)
|
|
intra/bootstrap.go#L179
Error return value of `prev.Stop` is not checked (errcheck)
|
intra/dialers/direct_split.go#L31
`strat` is a misspelling of `start` (misspell)
|
intra/dialers/direct_split.go#L38
`strat` is a misspelling of `start` (misspell)
|
intra/dialers/direct_split.go#L56
`strat` is a misspelling of `start` (misspell)
|
intra/dialers/direct_split.go#L57
`strat` is a misspelling of `start` (misspell)
|
intra/dialers/retrier.go#L144
`strat` is a misspelling of `start` (misspell)
|
intra/dialers/retrier.go#L145
`Strat` is a misspelling of `Start` (misspell)
|
intra/dialers/retrier.go#L147
`Strat` is a misspelling of `Start` (misspell)
|
intra/dialers/retrier.go#L167
`strat` is a misspelling of `start` (misspell)
|
intra/dialers/retrier.go#L173
`strat` is a misspelling of `start` (misspell)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
intra/backend/core_iptree.go#L7
package-comments: should have a package comment (revive)
|
intra/backend/core_iptree.go#L21
var-naming: type IpTree should be IPTree (revive)
|
intra/backend/core_iptree.go#L77
var-naming: func NewIpTree should be NewIPTree (revive)
|
intra/backend/core_iptree.go#L96
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
intra/backend/core_iptree.go#L146
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
intra/backend/core_iptree.go#L231
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
intra/backend/core_iptree.go#L279
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
intra/backend/core_iptree.go#L298
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
|
intra/backend/core_iptree.go#L339
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
intra/backend/core_iptree.go#L361
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
This job failed
Loading