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

[configgrpc] Remove deprecated aliases #11359

Merged

Conversation

jade-guiton-dd
Copy link
Contributor

@jade-guiton-dd jade-guiton-dd commented Oct 4, 2024

Description

This PR removes ClientConfig.ToClientConnWithOptions/ServerConfig.ToServerWithOptions, deprecated aliases of ClientConfig.ToClientConn/ServerConfig.ToServer, which were introduced in v0.111.0. This was part of the three step process to change the option type used by these methods (introduce new methods using the new option type and deprecate the old ones / remove old methods, rename new methods to the old names, add deprecated aliases for the new names / remove aliases).

Link to tracking issue

Fixes #9480

Copy link

codecov bot commented Oct 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.56%. Comparing base (403f1df) to head (d917a3a).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11359      +/-   ##
==========================================
+ Coverage   91.52%   91.56%   +0.03%     
==========================================
  Files         428      428              
  Lines       20233    20229       -4     
==========================================
+ Hits        18519    18522       +3     
+ Misses       1339     1333       -6     
+ Partials      375      374       -1     

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

@jade-guiton-dd jade-guiton-dd marked this pull request as ready for review October 4, 2024 12:05
@jade-guiton-dd jade-guiton-dd requested a review from a team as a code owner October 4, 2024 12:05
@mx-psi mx-psi merged commit 0e9f548 into open-telemetry:main Oct 4, 2024
66 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 4, 2024
jackgopack4 pushed a commit to jackgopack4/opentelemetry-collector that referenced this pull request Oct 8, 2024
#### Description

This PR removes
`ClientConfig.ToClientConnWithOptions`/`ServerConfig.ToServerWithOptions`,
deprecated aliases of
`ClientConfig.ToClientConn`/`ServerConfig.ToServer`, which were
introduced in v0.111.0. This was part of the three step process to
change the option type used by these methods (introduce new methods
using the new option type and deprecate the old ones / remove old
methods, rename new methods to the old names, add deprecated aliases for
the new names / remove aliases).

#### Link to tracking issue

Fixes open-telemetry#9480
@jade-guiton-dd jade-guiton-dd deleted the configgrpc-remove-deprecated branch November 27, 2024 13:37
HongChenTW pushed a commit to HongChenTW/opentelemetry-collector that referenced this pull request Dec 19, 2024
#### Description

This PR removes
`ClientConfig.ToClientConnWithOptions`/`ServerConfig.ToServerWithOptions`,
deprecated aliases of
`ClientConfig.ToClientConn`/`ServerConfig.ToServer`, which were
introduced in v0.111.0. This was part of the three step process to
change the option type used by these methods (introduce new methods
using the new option type and deprecate the old ones / remove old
methods, rename new methods to the old names, add deprecated aliases for
the new names / remove aliases).

#### Link to tracking issue

Fixes open-telemetry#9480
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.

[configrpc] Consider adding option wrapper on ToServer and ToClientConn
2 participants