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

util.Truncate add the values to the truncated after the excess is 0 #1678

Conversation

mmatache
Copy link
Contributor

Which problem is this PR solving?

Resolves: #1677

Short description of the changes

  • If the excess goes to 0, we continue to add the values to the truncated list to avoid formatting errors

@codecov
Copy link

codecov bot commented Dec 17, 2021

Codecov Report

Merging #1678 (e846a5e) into master (1e9c2ad) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1678      +/-   ##
==========================================
+ Coverage   87.68%   87.72%   +0.03%     
==========================================
  Files          98       98              
  Lines        5962     5963       +1     
==========================================
+ Hits         5228     5231       +3     
+ Misses        557      556       -1     
+ Partials      177      176       -1     
Impacted Files Coverage Δ
pkg/util/truncate.go 100.00% <100.00%> (+8.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e9c2ad...e846a5e. Read the comment docs.

@jpkrohling jpkrohling enabled auto-merge (squash) December 17, 2021 11:04
@jpkrohling jpkrohling merged commit c30ca9d into jaegertracing:master Dec 17, 2021
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.

util.Truncate not adding all values to the format string
2 participants