Skip to content

Return none for Getter if key does not exist#233

Merged
lzchen merged 12 commits intoopen-telemetry:masterfrom
lzchen:prop
Dec 8, 2020
Merged

Return none for Getter if key does not exist#233
lzchen merged 12 commits intoopen-telemetry:masterfrom
lzchen:prop

Conversation

@lzchen
Copy link
Contributor

@lzchen lzchen commented Dec 4, 2020

@lzchen lzchen requested review from a team, ocelotl and toumorokoshi and removed request for a team December 4, 2020 18:37
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are tests already catching this? If not it would be good to have tests that do.

@lzchen
Copy link
Contributor Author

lzchen commented Dec 7, 2020

@codeboten
For asgi, the test is already covering this but I added headers for a more explicit check. For celery and wsgi, those cases will be covered by the propagator tests.

@lzchen
Copy link
Contributor Author

lzchen commented Dec 7, 2020

@codeboten
Nvm, I added tests.

@lzchen lzchen merged commit 3eb27ca into open-telemetry:master Dec 8, 2020
@lzchen lzchen deleted the prop branch December 8, 2020 16:22
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