-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
tests: address bridge unexported return issue #19105
base: main
Are you sure you want to change the base?
Conversation
Hi @manthanguptaa. Thanks for your PR. I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Signed-off-by: Manthan Gupta <[email protected]>
2b8b165
to
0f6a30f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted filessee 36 files with indirect coverage changes @@ Coverage Diff @@
## main #19105 +/- ##
==========================================
- Coverage 68.77% 68.76% -0.01%
==========================================
Files 420 420
Lines 35623 35640 +17
==========================================
+ Hits 24498 24507 +9
- Misses 9699 9705 +6
- Partials 1426 1428 +2 Continue to review full report in Codecov by Sentry.
|
@ivanvc polite reminder to review this |
@ivanvc can you please review this one? I hope to get this merged this week |
/ok-to-test |
While working on this linter rule, we have found several instances where the unexported struct does not implement an existing interface. @ahrtr, @serathius, do you have an opinion on creating a new interface vs. exporting the struct? Initially, I was leaning towards creating an interface, but now, for the sake of simplicity, exporting the interface makes more sense. |
Adding an interface looks good to me. One minor related comment, can we rename |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, manthanguptaa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Should we just rename or deprecate+rename as it is an exported function? |
I don't think we need to deprecate+rename; We just need to rename it directly,
|
Introducing a new
Bridge
interface to resolve bridge unexported return issuePart of #18370.