-
Notifications
You must be signed in to change notification settings - Fork 739
*: reduce unsafe usage #8482
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
*: reduce unsafe usage #8482
Conversation
Signed-off-by: Ryan Leung <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8482 +/- ##
==========================================
+ Coverage 77.30% 77.32% +0.02%
==========================================
Files 472 472
Lines 61789 61780 -9
==========================================
+ Hits 47766 47773 +7
+ Misses 10448 10441 -7
+ Partials 3575 3566 -9
Flags with carried forward coverage won't be shown. Click here to find out more. |
@@ -2142,7 +2142,7 @@ func HexRegionKey(key []byte) []byte { | |||
// HexRegionKeyStr converts region key to hex format. Used for formatting region in | |||
// logs. | |||
func HexRegionKeyStr(key []byte) string { | |||
return typeutil.BytesToString(HexRegionKey(key)) | |||
return string(HexRegionKey(key)) |
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.
could you refer to relative go changes?
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.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JmPotato, lhy1024 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 #8475.
What is changed and how does it work?
With go1.22.5
Check List
Tests
Release note