From 1b2b7647d68f81fcadf20ccbed943b927b37592c Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Tue, 14 Jun 2022 07:25:54 +0800 Subject: [PATCH] chore: coding style (#2012) --- zrpc/internal/clientinterceptors/tracinginterceptor.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/zrpc/internal/clientinterceptors/tracinginterceptor.go b/zrpc/internal/clientinterceptors/tracinginterceptor.go index d24e7551..5d4b666e 100644 --- a/zrpc/internal/clientinterceptors/tracinginterceptor.go +++ b/zrpc/internal/clientinterceptors/tracinginterceptor.go @@ -26,9 +26,7 @@ func UnaryTracingInterceptor(ctx context.Context, method string, req, reply inte defer span.End() ztrace.MessageSent.Event(ctx, 1, req) - err := invoker(ctx, method, req, reply, cc, opts...) - // fix: https://github.com/zeromicro/go-zero/issues/1954 ztrace.MessageReceived.Event(ctx, 1, reply) if err != nil { s, ok := status.FromError(err)