Skip to content

Commit

Permalink
fix nil pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
golangisfun123 committed Oct 15, 2024
1 parent fc96c21 commit 81a732e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/omnirpc/http/capture_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (c *CapturedRequest) SetBody(body []byte) Request {
// SetContext stores the context for testing.
func (c *CapturedRequest) SetContext(ctx context.Context) Request {
_, span := c.Handler.Tracer().Start(
c.Context,
ctx,
"SetContext",
)
span.AddEvent("SetContext")
Expand Down

0 comments on commit 81a732e

Please sign in to comment.