-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
playground: print version when filling binpath #2334
Conversation
Signed-off-by: husharp <jinhao.hu@pingcap.com>
cc @lhy1024 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2334 +/- ##
==========================================
- Coverage 55.22% 50.91% -4.32%
==========================================
Files 334 328 -6
Lines 35982 34984 -998
==========================================
- Hits 19871 17810 -2061
- Misses 13726 14853 +1127
+ Partials 2385 2321 -64
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@lhy1024: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this: 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/test-infra repository. |
@@ -70,6 +70,8 @@ type Instance interface { | |||
// Wait Should only call this if the instance is started successfully. | |||
// The implementation should be safe to call Wait multi times. | |||
Wait() error | |||
// BinPathCheck return the bin path to check component version. | |||
BinPathCheck(utils.Version) string |
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.
How about simply return the bin path (and call it BinPath
)? The current API mixes two different things together, which is confusing and not useful for other purposes.
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.
How about advancing the PrepareBinary
function?
Signed-off-by: husharp <jinhao.hu@pingcap.com>
04feb27
to
c452cda
Compare
Signed-off-by: husharp <jinhao.hu@pingcap.com>
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.
lgtm
@nolouch: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this:
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/test-infra repository. |
Signed-off-by: husharp <jinhao.hu@pingcap.com>
Signed-off-by: husharp <jinhao.hu@pingcap.com>
Signed-off-by: husharp <jinhao.hu@pingcap.com>
Signed-off-by: husharp <ihusharp@gmail.com>
cb003e9
to
115f047
Compare
Signed-off-by: husharp <ihusharp@gmail.com>
115f047
to
36e9b5f
Compare
PTAL, thx! @xhebox |
Signed-off-by: husharp <ihusharp@gmail.com>
[LGTM Timeline notifier]Timeline:
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xhebox 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 |
What problem does this PR solve?
When filling in the binpath, it isbetter to print out the instance using binpath
What is changed and how it works?
before
after
Check List
Tests
Release notes: