Node diver metrics #276
Annotations
10 errors and 5 warnings
Golangci:
shared/services/ec-manager.go#L534
dupBranchBody: both branches in if statement have same body (gocritic)
|
Golangci:
stader/node/node.go#L510
commentFormatting: put a space between `//` and comment text (gocritic)
|
Golangci:
stader/node/node.go#L488
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
Golangci:
stader/node/node_test.go#L12
dupImport: package is imported 2 times under different aliases on lines 12 and 13 (gocritic)
|
Golangci:
stader/node/node_test.go#L13
dupImport: package is imported 2 times under different aliases on lines 12 and 13 (gocritic)
|
Golangci:
shared/services/wallet/node.go#L192
unnecessary leading newline (whitespace)
|
Golangci:
shared/utils/stader/node-diversity.go#L37
unnecessary trailing newline (whitespace)
|
Golangci:
stader/node/node.go#L555
unnecessary trailing newline (whitespace)
|
Golangci:
stader/node/node.go#L154
mnd: Magic number: 4, in <argument> detected (gomnd)
|
Golangci:
shared/types/stader-backend/node-diversity.go#L3
fieldalignment: struct with 24 pointer bytes could be 16 (govet)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Golangci:
shared/types/stader-backend/node-diversity.go#L1
var-naming: don't use an underscore in package name (revive)
|
Golangci:
shared/services/config/stadernode-config.go#L327
var-naming: method GetNodeDiversityApi should be GetNodeDiversityAPI (revive)
|
Golangci:
shared/services/ec-manager.go#L544
var-naming: struct field Id should be ID (revive)
|
Golangci:
stader/node/node.go#L500
var-naming: var operatorId should be operatorID (revive)
|
The logs for this run have expired and are no longer available.
Loading