ipn/warp: amnezia gateway registration #985
Annotations
29 errors, 10 warnings, and 1 notice
🧭 Lint:
intra/ipn/wg/wgconn.go#L298
this comparison is always true (SA4023)
|
🧭 Lint:
intra/ipn/wg/wgconn.go#L275
the lhs of the comparison gets its value from here and has a concrete type
|
🧭 Lint:
intra/ipn/wg/wgconn.go#L302
this comparison is always true (SA4023)
|
🧭 Lint:
intra/ipn/wg/wgconn.go#L283
the lhs of the comparison gets its value from here and has a concrete type
|
🧭 Lint:
intra/ipn/wg/wgconn.go#L307
this comparison is always true (SA4023)
|
🧭 Lint:
intra/ipn/wg/wgconn.go#L275
the lhs of the comparison gets its value from here and has a concrete type
|
🧭 Lint:
intra/ipn/wg/wgconn.go#L307
this comparison is always true (SA4023)
|
🧭 Lint:
intra/ipn/wg/wgconn.go#L283
the lhs of the comparison gets its value from here and has a concrete type
|
🧭 Lint
Process completed with exit code 1.
|
🧭 Lint:
intra/bootstrap.go#L178
Error return value of `prev.Stop` is not checked (errcheck)
|
🧭 Lint:
intra/dialers/direct_split.go#L31
`strat` is a misspelling of `start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L154
`strat` is a misspelling of `start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L155
`Strat` is a misspelling of `Start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L157
`Strat` is a misspelling of `Start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L177
`strat` is a misspelling of `start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L183
`strat` is a misspelling of `start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L187
`strat` is a misspelling of `start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L189
`strat` is a misspelling of `start` (misspell)
|
🧭 Lint:
intra/dialers/retrier.go#L191
`strat` is a misspelling of `start` (misspell)
|
🧬 Build:
intra/ipn/warp/agw.go#L534
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
🧬 Build
unassigned variable `resp` returned from `do()` in position 0
|
🧬 Build
result 0 of `do()` returned from `Do()` in position 0
|
🧬 Build
result 0 of `Do()` accessed field `StatusCode` via the assignment(s):
|
🧬 Build:
intra/ipn/wg/wgconn.go#L434
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
🧬 Build
literal `nil` assigned into field `ipv6`
|
🧬 Build
field `ipv6` called `WriteTo()` via the assignment(s):
|
🧬 Build:
intra/ipn/wg/wgconn.go#L434
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
🧬 Build
literal `nil` assigned into field `ipv4`
|
🧬 Build
field `ipv4` called `WriteTo()` via the assignment(s):
|
🧭 Lint:
intra/backend/core_iptree.go#L7
package-comments: should have a package comment (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L22
var-naming: type IpTree should be IPTree (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L67
exported: exported const Vsep should have comment (or a comment on this block) or be unexported (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L78
var-naming: func NewIpTree should be NewIPTree (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L97
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)
|
🧭 Lint:
intra/backend/core_iptree.go#L147
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)
|
🧭 Lint:
intra/backend/core_iptree.go#L232
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)
|
🧭 Lint:
intra/backend/core_iptree.go#L280
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L299
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
|
🧭 Lint:
intra/backend/core_iptree.go#L340
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)
|
🧬 Build
success
|