Skip to content

Node peering rework #460

Node peering rework

Node peering rework #460

Triggered via pull request October 23, 2023 22:09
Status Failure
Total duration 40s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
lint: http/nodepeers.go#L16
Consider pre-allocating `additionalFields` (prealloc)
lint
issues found
lint: api/v1/peers.go#L37
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
lint: api/v1/peers.go#L41
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
lint: api/v1/peers.go#L61
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)