Add Elasticsearch filter pb.go #9
Annotations
10 errors and 6 warnings
lint:
pkg/server/sotw/v3/ads.go#L68
printf: non-constant format string in call to google.golang.org/grpc/status.Errorf (govet)
|
lint:
pkg/server/v3/gateway.go#L76
printf: non-constant format string in call to fmt.Errorf (govet)
|
lint:
pkg/server/v3/gateway.go#L89
printf: non-constant format string in call to fmt.Errorf (govet)
|
lint:
pkg/server/v3/gateway.go#L94
printf: non-constant format string in call to fmt.Errorf (govet)
|
lint:
pkg/server/delta/v3/server.go#L110
printf: non-constant format string in call to google.golang.org/grpc/status.Errorf (govet)
|
lint:
pkg/cache/v3/linear_test.go#L487
require-error: for error assertions use require (testifylint)
|
lint:
pkg/cache/v3/linear_test.go#L491
require-error: for error assertions use require (testifylint)
|
lint:
pkg/cache/v3/linear_test.go#L513
require-error: for error assertions use require (testifylint)
|
lint:
pkg/cache/v3/cache_test.go#L31
error-nil: use assert.NoError (testifylint)
|
lint:
pkg/cache/v3/cache_test.go#L33
len: use assert.Len (testifylint)
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
|
lint:
internal/upstream/main.go#L35
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/server/v3/server_test.go#L373
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/server/v3/delta_test.go#L440
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/server/v3/server_test.go#L379
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/server/v3/server_test.go#L386
unused-parameter: parameter 'request' seems to be unused, consider removing or renaming it as _ (revive)
|