core/web: /health - and support for HTML & Plaintext #1156
Annotations
10 errors
chaincli-lint:
core/scripts/chaincli/handler/keeper.go#L734
superfluous-else: if block ends with call to log.Fatalf function, so drop this else and outdent its block (revive)
|
chaincli-lint:
core/scripts/chaincli/handler/keeper.go#L781
func `(*Keeper).createKeeperJobOnExistingNode` is unused (unused)
|
chaincli-lint:
core/scripts/chaincli/handler/report.go#L93
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
chaincli-lint:
core/scripts/chaincli/handler/ocr2_config.go#L57
S1004: should use bytes.Equal(tx.To()[:], addr[:]) instead (gosimple)
|
chaincli-lint:
core/scripts/chaincli/handler/report.go#L278
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
|
chaincli-lint:
core/scripts/chaincli/handler/handler.go#L414
shadow: declaration of "err" shadows declaration at line 231 (govet)
|
chaincli-lint:
core/scripts/chaincli/handler/keeper_launch.go#L103
shadow: declaration of "err" shadows declaration at line 93 (govet)
|
chaincli-lint:
core/scripts/chaincli/handler/keeper_launch.go#L110
shadow: declaration of "err" shadows declaration at line 93 (govet)
|
chaincli-lint:
core/scripts/chaincli/handler/keeper_launch.go#L231
shadow: declaration of "err" shadows declaration at line 223 (govet)
|
chaincli-lint:
core/scripts/chaincli/handler/keeper_launch.go#L239
shadow: declaration of "err" shadows declaration at line 223 (govet)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
golangci-lint-report
Expired
|
2.73 KB |
|