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...) }