Skip to content

Commit

Permalink
*: enable mirror linter
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed May 9, 2023
1 parent 044421a commit 045af20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/utils/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func ParseKey(format, key string) ([]byte, error) {
// Ref PD: https://github.com/pingcap/pd/blob/master/tools/pd-ctl/pdctl/command/region_command.go#L334
func unescapedKey(text string) ([]byte, error) {
var buf []byte
r := bytes.NewBuffer([]byte(text))
r := bytes.NewBufferString(text)
for {
c, err := r.ReadByte()
if err != nil {
Expand Down

0 comments on commit 045af20

Please sign in to comment.