Skip to content

Node peering rework #457

Node peering rework

Node peering rework #457

Triggered via pull request October 22, 2023 19:42
Status Failure
Total duration 36s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: testclients/erroring.go#L1
: # github.com/attestantio/go-eth2-client/testclients
lint: testclients/erroring.go#L564
undefined: apiv1.Peers
lint: testclients/sleepy.go#L430
undefined: apiv1.Peers (typecheck)
lint: service.go#L350
commentFormatting: put a space between `//` and comment text (gocritic)
lint: http/nodepeers.go#L31
commentFormatting: put a space between `//` and comment text (gocritic)
lint: api/v1/peers.go#L9
Comment should end in a period (godot)
lint: api/v1/peers.go#L26
Comment should end in a period (godot)
lint: api/v1/peers.go#L29
Comment should end in a period (godot)
lint: api/v1/peers.go#L5
File is not `gofumpt`-ed (gofumpt)
lint: mock/nodepeers.go#L31
File is not `gofumpt`-ed (gofumpt)
lint: api/v1/peers.go#L36
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
lint: api/v1/peers.go#L40
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
lint: api/v1/peers.go#L60
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
lint: api/v1/peers.go#L74
receiver-naming: receiver name e should be consistent with previous receiver name p for Peer (revive)