[DVT-819][DVT-903] Use p2p.Server and refactor #560
Annotations
5 errors
Doc
Process completed with exit code 1.
|
Lint:
cmd/p2p/sensor/sensor.go#L155
ineffectual assignment to err (ineffassign)
|
Lint:
cmd/p2p/sensor/sensor.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
Lint:
cmd/p2p/sensor/sensor.go#L128
SA5001: should check returned error before deferring client.Close() (staticcheck)
|
Lint
Process completed with exit code 2.
|