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

Commit

Permalink
Fix always-nil dereference (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon Nogueira authored Apr 25, 2018
1 parent 2303774 commit 9f6adc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/ocgrpc/server_stats_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (h *ServerHandler) statsTagRPC(ctx context.Context, info *stats.RPCTagInfo)
startTime := time.Now()
if info == nil {
if grpclog.V(2) {
grpclog.Infof("opencensus: TagRPC called with nil info.", info.FullMethodName)
grpclog.Infof("opencensus: TagRPC called with nil info.")
}
return ctx
}
Expand Down

0 comments on commit 9f6adc5

Please sign in to comment.