Skip to content

[DVT-819][DVT-903] Use p2p.Server and refactor #560

[DVT-819][DVT-903] Use p2p.Server and refactor

[DVT-819][DVT-903] Use p2p.Server and refactor #560

Triggered via pull request August 2, 2023 19:28
Status Failure
Total duration 1m 51s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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.