From 32079ad7c2752b2ee1ed89c927e11418b641655a Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Thu, 20 Mar 2025 17:24:39 +0300 Subject: [PATCH] [#12] grpc: Fix method name Signed-off-by: Dmitrii Stepanov --- tagging/grpc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tagging/grpc.go b/tagging/grpc.go index 5e255dd..4e2fcfe 100644 --- a/tagging/grpc.go +++ b/tagging/grpc.go @@ -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...) }