-
Notifications
You must be signed in to change notification settings - Fork 226
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
v1.18: deprecate get_client
and get_multi_client
(backport of #177)
#182
Conversation
deprecate get_client and get_multi_client (cherry picked from commit 00c984f)
gossip/src/gossip_service.rs
Outdated
@@ -193,6 +193,7 @@ pub fn discover( | |||
} | |||
|
|||
/// Creates a ThinClient by selecting a valid node at random | |||
#[deprecated(since = "1.18.0", note = "Interface will change")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh shoot, I didn't look carefully enough at this, sorry. Can you please fix this on master too?
#[deprecated(since = "1.18.0", note = "Interface will change")] | |
#[deprecated(since = "1.18.6", note = "Interface will change")] |
gossip/src/gossip_service.rs
Outdated
@@ -208,6 +209,7 @@ pub fn get_client( | |||
ThinClient::new(rpc, tpu, connection_cache) | |||
} | |||
|
|||
#[deprecated(since = "1.18.0", note = "Will be removed in favor of get_client")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[deprecated(since = "1.18.0", note = "Will be removed in favor of get_client")] | |
#[deprecated(since = "1.18.6", note = "Will be removed in favor of get_client")] |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v1.18 #182 +/- ##
=======================================
Coverage 81.6% 81.6%
=======================================
Files 827 827
Lines 224375 224375
=======================================
+ Hits 183114 183141 +27
+ Misses 41261 41234 -27 |
github says "Some checks were not successful" but CI here: https://buildkite.com/anza/agave/builds/453 is green says all checks passed. |
…a-xyz#177) (anza-xyz#182) * deprecate `get_client` and `get_multi_client` (anza-xyz#177) deprecate get_client and get_multi_client (cherry picked from commit 00c984f) * bump deprecated version numbers --------- Co-authored-by: Greg Cusack <[email protected]>
This is an automatic backport of pull request #177 done by Mergify.
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refresh
will re-evaluate the rules@Mergifyio rebase
will rebase this PR on its base branch@Mergifyio update
will merge the base branch into this PR@Mergifyio backport <destination>
will backport this PR on<destination>
branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.com