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

Store fake Tracer when parent_span is None #221

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

therc
Copy link

@therc therc commented Jul 6, 2018

Right now, the code checks if parent_span is None only after it's stored.
Either the checks runs when it's too late or it's not needed in the first place. Assume the former.

Right now, the code checks if parent_span is None only after it's stored.
Either the checks runs when it's too late or  it's not needed in the first place. Assume the former.
@therc
Copy link
Author

therc commented Jul 9, 2018

Uh, this breaks TestSpan.test_constructor_defaults. So perhaps the code serves no purpose? @liyanhui1228, you added the code in therc@a155f47, is it a bad copy and paste from context_tracer.py?

@therc
Copy link
Author

therc commented Aug 4, 2018

Ping?

@therc therc requested review from aabmass, hectorhdzg, lzchen, songy23 and a team as code owners May 13, 2021 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants