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: header tag normalization #63

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

dmehala
Copy link
Contributor

@dmehala dmehala commented May 30, 2024

Description

An empty or nil tag when using config.header_tags was generating an error and preventing tracing. This commit correctly handle nil value for the tag field.

Resolves #59.

Changes

  • Add tests.
  • Update normalization algorithm.

An empty or `nil` tag was generating an error and preventing tracing.
This commit correctly handle `nil` value for the tag field.

Resolves #59

Changes:
  - Add tests.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (15d7bd3) to head (4c514f8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
+ Coverage   92.68%   92.70%   +0.02%     
==========================================
  Files           7        7              
  Lines         615      617       +2     
==========================================
+ Hits          570      572       +2     
  Misses         45       45              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dmehala dmehala merged commit 34f730a into main Jun 11, 2024
3 checks passed
@dmehala dmehala deleted the dmehala/handle-empty-header-tags branch June 11, 2024 07:38
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.

[Bug]: Empty tag in header_tags prevent tracing
3 participants