Node peering rework #458
Annotations
10 errors and 4 warnings
golangci-lint:
testclients/erroring.go#L1
: # github.com/attestantio/go-eth2-client/testclients
|
golangci-lint:
testclients/erroring.go#L564
undefined: apiv1.Peers
|
golangci-lint:
testclients/sleepy.go#L430
undefined: apiv1.Peers (typecheck)
|
golangci-lint:
api/v1/peers.go#L10
Comment should end in a period (godot)
|
golangci-lint:
api/v1/peers.go#L27
Comment should end in a period (godot)
|
golangci-lint:
api/v1/peers.go#L30
Comment should end in a period (godot)
|
golangci-lint:
http/nodepeers.go#L16
Consider pre-allocating `additionalFields` (prealloc)
|
golangci-lint:
api/v1/peers.go#L36
S1002: should omit comparison to bool constant, can be simplified to `!exists` (gosimple)
|
golangci-lint:
api/v1/peers.go#L40
S1002: should omit comparison to bool constant, can be simplified to `!exists` (gosimple)
|
golangci-lint:
api/v1/peers.go#L60
S1002: should omit comparison to bool constant, can be simplified to `!ok` (gosimple)
|
golangci-lint:
api/v1/peers.go#L75
receiver-naming: receiver name e should be consistent with previous receiver name p for Peer (revive)
|
golangci-lint:
api/v1/peers.go#L37
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/v1/peers.go#L41
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/v1/peers.go#L61
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
The logs for this run have expired and are no longer available.
Loading