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: with_collector_endpoint is error prune. #428

Merged
merged 2 commits into from
Jan 15, 2021

Conversation

TommyCpp
Copy link
Contributor

Fix #426.

Now we will store the result of try_from function until we init the uploader. If the result is error, we wrap it into TraceError and return.

@TommyCpp TommyCpp requested a review from a team January 15, 2021 02:29
@codecov
Copy link

codecov bot commented Jan 15, 2021

Codecov Report

Merging #428 (de9af89) into master (b2ab799) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #428   +/-   ##
=======================================
  Coverage   51.57%   51.57%           
=======================================
  Files          65       65           
  Lines        5117     5117           
=======================================
  Hits         2639     2639           
  Misses       2478     2478           

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 b2ab799...de9af89. Read the comment docs.

Fix open-telemetry#426.

Now we will store the result of try_from function until we init the uploader. If the result is error, we wrap it into TraceError and return.
Copy link
Member

@jtescher jtescher left a comment

Choose a reason for hiding this comment

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

Looks good @TommyCpp

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@jtescher jtescher merged commit 04fa6d5 into open-telemetry:master Jan 15, 2021
@TommyCpp TommyCpp deleted the tommycpp/426 branch January 24, 2021 00:19
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.

PipelineBuilder::with_collector_endpoint API is error prone
2 participants