Skip to content

grpc/service: Refactor middleware #23032

grpc/service: Refactor middleware

grpc/service: Refactor middleware #23032

Triggered via pull request November 25, 2024 09:16
Status Failure
Total duration 3m 57s
Artifacts

check.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
statics: server/middleware.go#L168
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
statics: server/middleware.go#L132
SA1019: pdpb.NewPDClient(client).ScanRegions is deprecated: use BatchScanRegions instead. (staticcheck)
statics
Process completed with exit code 2.