feat: use AlwaysRouteFilteringStrategy
if alwaysRoute
is enabled
#648
golangci-lint.yml
on: pull_request
Code linting with golangci-lint
16s
Annotations
10 errors and 1 warning
Code linting with golangci-lint:
cmd/gateway/main.go#L12
could not import github.com/satsuma-data/node-gateway/internal/server (-: # github.com/satsuma-data/node-gateway/internal/server
|
Code linting with golangci-lint:
internal/server/object_graph.go#L70
too many arguments in call to route.NewPriorityRoundRobinStrategy
|
Code linting with golangci-lint:
internal/checks/blockheight.go#L1
: # github.com/satsuma-data/node-gateway/internal/checks [github.com/satsuma-data/node-gateway/internal/checks.test]
|
Code linting with golangci-lint:
internal/checks/errorlatency_test.go#L16
undefined: config.UnhealthyReason
|
Code linting with golangci-lint:
internal/checks/errorlatency_test.go#L37
checker.GetUnhealthyReason undefined (type "github.com/satsuma-data/node-gateway/internal/types".ErrorLatencyChecker has no field or method GetUnhealthyReason)
|
Code linting with golangci-lint:
internal/checks/errorlatency_test.go#L43
undefined: config.ReasonUnknownOrHealthy
|
Code linting with golangci-lint:
internal/checks/errorlatency_test.go#L47
undefined: config.ReasonUnknownOrHealthy
|
Code linting with golangci-lint:
internal/checks/errorlatency_test.go#L51
undefined: config.ReasonLatencyTooHighRate
|
Code linting with golangci-lint:
internal/checks/errorlatency_test.go#L55
undefined: config.ReasonLatencyTooHighRate
|
Code linting with golangci-lint:
internal/checks/errorlatency_test.go#L59
undefined: config.ReasonLatencyTooHighRate (typecheck)
|
Code linting with golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|