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

fixed removeContextValue and changed log body from String to Any #494

Closed
wants to merge 3 commits into from
Closed

Conversation

vvydier
Copy link
Contributor

@vvydier vvydier commented Dec 18, 2023

  1. fixed removeContextValue
  2. Added a test case for removeContextValue. Is there a better way to test this?
  3. Changed log body from String to Any, changed the related code and tests

@@ -70,12 +70,11 @@ class ActivityContextManager: ContextManager {
func removeContextValue(forKey key: OpenTelemetryContextKeys, value: AnyObject) {
let activityIdent = os_activity_get_identifier(OS_ACTIVITY_CURRENT, nil)
Copy link
Member

Choose a reason for hiding this comment

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

remove unused variable

@vvydier
Copy link
Contributor Author

vvydier commented Dec 20, 2023

closing this and splitting this effort into 2 PR's as there are separate issues

@vvydier vvydier closed this Dec 20, 2023
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