Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add null pointer check for gRPC stream client span #287

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

tang95
Copy link
Contributor

@tang95 tang95 commented Jan 13, 2025

When span := trace.SpanFromContext(ctx) returns a noopSpan, gctx might be nil, leading to a nil pointer error.

@tang95 tang95 mentioned this pull request Jan 13, 2025
@123liuziming 123liuziming merged commit 940ec10 into alibaba:main Jan 14, 2025
9 checks passed
@123liuziming
Copy link
Collaborator

@tang95 Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants