Skip to content

Commit

Permalink
accept suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
VjeraTurk committed Feb 10, 2025
1 parent 8257c47 commit 32b9297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rpc/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (s *server) HandleP2PMessageRequest(ctx context.Context, requestType types.
}

func (s *server) HandleMessageRequest(ctx context.Context, requestType types.MessageType, request protoreflect.ProtoMessage) (protoreflect.ProtoMessage, error) {
ctx, span := s.tracer.Start(ctx, "server.HandleP2PMessageRequest", trace.WithSpanKind(trace.SpanKindServer))
ctx, span := s.tracer.Start(ctx, "server.HandleMessageRequest", trace.WithSpanKind(trace.SpanKindServer))
defer span.End()
md, err := s.processMetadata(ctx, s.tracer.TraceIDForSpan(span))
if err != nil {
Expand Down

0 comments on commit 32b9297

Please sign in to comment.