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

zapslog: Handle empty attrs centrally #1351

Merged
merged 1 commit into from Sep 9, 2023

Conversation

prashantv
Copy link
Collaborator

Follow-up to #1344 to handle empty attributes using a skip field in a single place, so each caller of convertAttrToField doesn't have to check for empty attributes explicitly.

Follow-up to uber-go#1344 to handle empty attributes using a skip field
in a single place, so each caller of `convertAttrToField` doesn't
have to check for empty attributes explicitly.
@codecov
Copy link

codecov bot commented Sep 9, 2023

Codecov Report

Merging #1351 (9d90c23) into master (2b35963) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1351   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files          52       52           
  Lines        3403     3404    +1     
=======================================
+ Hits         3348     3349    +1     
  Misses         46       46           
  Partials        9        9           
Files Changed Coverage Δ
exp/zapslog/handler.go 97.16% <100.00%> (+0.02%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@abhinav abhinav merged commit b7aed24 into uber-go:master Sep 9, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants