[#12] grpc: Fix method name
All checks were successful
DCO action / DCO (pull_request) Successful in 27s
Vulncheck / Vulncheck (pull_request) Successful in 40s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m17s
Tests and linters / Run gofumpt (pull_request) Successful in 1m15s
Tests and linters / Tests (pull_request) Successful in 1m21s
Tests and linters / Staticcheck (pull_request) Successful in 1m21s
Tests and linters / Tests with -race (pull_request) Successful in 1m22s
Tests and linters / Lint (pull_request) Successful in 1m25s
Tests and linters / gopls check (pull_request) Successful in 1m25s
Vulncheck / Vulncheck (push) Successful in 48s
Tests and linters / Run gofumpt (push) Successful in 1m11s
Tests and linters / Staticcheck (push) Successful in 1m16s
Tests and linters / Lint (push) Successful in 1m22s
Pre-commit hooks / Pre-commit (push) Successful in 1m34s
Tests and linters / Tests (push) Successful in 1m43s
Tests and linters / Tests with -race (push) Successful in 1m45s
Tests and linters / gopls check (push) Successful in 1m46s

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2025-03-20 17:24:39 +03:00
parent 1ca213ee7c
commit 32079ad7c2
Signed by: dstepanov-yadro
GPG key ID: 237AF1A763293BC0

View file

@ -11,8 +11,8 @@ const (
ioTagHeader = "x-frostfs-io-tag"
)
// NewUnaryClientInteceptor creates new gRPC unary interceptor to set an IO tag to gRPC metadata.
func NewUnaryClientInteceptor() grpc.UnaryClientInterceptor {
// NewUnaryClientInterceptor creates new gRPC unary interceptor to set an IO tag to gRPC metadata.
func NewUnaryClientInterceptor() grpc.UnaryClientInterceptor {
return func(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error {
return invoker(setIOTagToGRPCMetadata(ctx), method, req, reply, cc, opts...)
}