-
Notifications
You must be signed in to change notification settings - Fork 725
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
*: unify the receiver naming style #8677
Conversation
@@ -36,13 +36,13 @@ func NewLearnerChecker(cluster sche.CheckerCluster) *LearnerChecker { | |||
} | |||
|
|||
// Check verifies a region's role, creating an Operator if need. | |||
func (l *LearnerChecker) Check(region *core.RegionInfo) *operator.Operator { | |||
if l.IsPaused() { | |||
func (c *LearnerChecker) Check(region *core.RegionInfo) *operator.Operator { |
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.
but commit message is reduce rand NewSource
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.
need to merge #8675 first
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.
wait another pr merge.
lgtm
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8677 +/- ##
==========================================
- Coverage 77.57% 77.57% -0.01%
==========================================
Files 474 474
Lines 62359 62359
==========================================
- Hits 48377 48375 -2
- Misses 10425 10427 +2
Partials 3557 3557
Flags with carried forward coverage won't be shown. Click here to find out more. |
Signed-off-by: Ryan Leung <rleungx@gmail.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lhy1024, okJiang 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?
Issue Number: ref #8379.
What is changed and how does it work?
Checkers use
c
and schedulers uses
, which is easier to do some replacement.Check List
Tests
Release note