-
Notifications
You must be signed in to change notification settings - Fork 728
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
server: Refine log error format (#2873) #2911
server: Refine log error format (#2873) #2911
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ZenoTan please accept the invitation then you can push to the cherry-pick pull requests. |
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.
plz fix
79ba4b9
to
4a20d66
Compare
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
…ot/pd into release Signed-off-by: ZenoTan <zenotan1998@gmail.com>
c6897b7
to
2efe415
Compare
Signed-off-by: ZenoTan <zenotan1998@gmail.com>
server/id/id.go
Outdated
@@ -14,10 +14,10 @@ | |||
package id | |||
|
|||
import ( | |||
"github.com/tikv/pd/pkg/errs" |
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.
Please fix it
Codecov Report
@@ Coverage Diff @@
## release-4.0 #2911 +/- ##
===============================================
+ Coverage 77.16% 77.24% +0.08%
===============================================
Files 204 210 +6
Lines 21940 22857 +917
===============================================
+ Hits 16931 17657 +726
- Misses 3724 3853 +129
- Partials 1285 1347 +62
Continue to review full report at Codecov.
|
/merge |
/run-all-tests |
cherry-pick #2873 to release-4.0
Signed-off-by: ZenoTan zenotan1998@gmail.com
What problem does this PR solve?
Refine log format in package server. Solve #2704
What is changed and how it works?
log.Error
anderrors.Errorf
parts are changedCheck List
Tests
Code changes
Release note