Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit c3153da

Browse files
bvwellsrghetia
authored andcommitted
Fix bug in ocgrpc client logging (#1161)
1 parent 19caf3a commit c3153da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/ocgrpc/client_stats_handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
package ocgrpc
1717

1818
import (
19+
"context"
1920
"time"
2021

21-
"context"
2222
"go.opencensus.io/tag"
2323
"google.golang.org/grpc/grpclog"
2424
"google.golang.org/grpc/stats"
@@ -30,7 +30,7 @@ func (h *ClientHandler) statsTagRPC(ctx context.Context, info *stats.RPCTagInfo)
3030
startTime := time.Now()
3131
if info == nil {
3232
if grpclog.V(2) {
33-
grpclog.Infof("clientHandler.TagRPC called with nil info.", info.FullMethodName)
33+
grpclog.Info("clientHandler.TagRPC called with nil info.")
3434
}
3535
return ctx
3636
}

0 commit comments

Comments
 (0)