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: traceFlags test in isHeadSampled function #151

Merged

Conversation

hakkanicko
Copy link
Contributor

In the isHeadSampled function, the flag wasn't tested as a bit, but as a whole value
For now, since there is only one flag in TraceFlags, it works, but it won't in the future if a flag is added

The flag wasn't tested as a bit, but as a whole value
For now, since there is only one flag in TraceFlags, it works,
but it won't in the future if a flag is added
@evanderkoogh
Copy link
Owner

Thanks for that!

@evanderkoogh evanderkoogh merged commit 7138b44 into evanderkoogh:main Aug 13, 2024
1 check passed
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.

2 participants