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

remove error return value from ComposeVersionNegotiation #3410

Merged
merged 1 commit into from May 12, 2022
Merged

remove error return value from ComposeVersionNegotiation #3410

merged 1 commit into from May 12, 2022

Conversation

dchaofei
Copy link
Contributor

Fixes: #3408

ComposeVersionNegotiation() function will never return an error, but the return value defines the error type.

@codecov
Copy link

codecov bot commented May 12, 2022

Codecov Report

Merging #3410 (f20a072) into master (b9a77af) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3410      +/-   ##
==========================================
+ Coverage   85.35%   85.37%   +0.03%     
==========================================
  Files         135      135              
  Lines        9931     9928       -3     
==========================================
  Hits         8476     8476              
+ Misses       1069     1067       -2     
+ Partials      386      385       -1     
Impacted Files Coverage Δ
internal/wire/version_negotiation.go 84.62% <100.00%> (ø)
server.go 81.16% <100.00%> (+0.70%) ⬆️

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 b9a77af...f20a072. Read the comment docs.

Copy link
Member

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

Thank you!

@marten-seemann marten-seemann changed the title compose version negotiation function does not need to return the error type remove error return value from ComposeVersionNegotiation May 12, 2022
@marten-seemann marten-seemann merged commit 60bbe92 into quic-go:master May 12, 2022
nmldiegues pushed a commit to chungthuang/quic-go that referenced this pull request Jun 6, 2022
@MarcoPolo MarcoPolo mentioned this pull request Jul 7, 2022
41 tasks
sudarshan-reddy pushed a commit to sudarshan-reddy/quic-go that referenced this pull request Aug 9, 2022
@ajnavarro ajnavarro mentioned this pull request Aug 24, 2022
72 tasks
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.

ComposeVersionNegotiation() function will never return an error
2 participants