Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from grpc-ecosystem/master
Browse files Browse the repository at this point in the history
Update forks merge
  • Loading branch information
tonywang authored Apr 6, 2020
2 parents 6af20e3 + 8a6536e commit b7dd0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func (m *ClientMetrics) UnaryClientInterceptor() func(ctx context.Context, metho
monitor := newClientReporter(m, Unary, method)
monitor.SentMessage()
err := invoker(ctx, method, req, reply, cc, opts...)
if err != nil {
if err == nil {
monitor.ReceivedMessage()
}
st, _ := status.FromError(err)
Expand Down

0 comments on commit b7dd0c7

Please sign in to comment.