Fix bug in ocgrpc client logging (#1161)
diff --git a/plugin/ocgrpc/client_stats_handler.go b/plugin/ocgrpc/client_stats_handler.go
index 18821c7..b363498 100644
--- a/plugin/ocgrpc/client_stats_handler.go
+++ b/plugin/ocgrpc/client_stats_handler.go
@@ -16,9 +16,9 @@
package ocgrpc
import (
+ "context"
"time"
- "context"
"go.opencensus.io/tag"
"google.golang.org/grpc/grpclog"
"google.golang.org/grpc/stats"
@@ -30,7 +30,7 @@
startTime := time.Now()
if info == nil {
if grpclog.V(2) {
- grpclog.Infof("clientHandler.TagRPC called with nil info.", info.FullMethodName)
+ grpclog.Info("clientHandler.TagRPC called with nil info.")
}
return ctx
}