Skip to content

Commit

Permalink
revert unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Jul 26, 2023
1 parent 13b946c commit 2f9dc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/lightning/backend/remote/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func generateRanges(splitKeys [][]byte, start, end kv.Key) []Range {
}
ranges = append(ranges, Range{start: splitKeys[i], end: endK})
}
ranges[len(ranges)-1].end = end.Next()
ranges[len(ranges)-1].end = end
for _, r := range ranges {
log.FromContext(context.Background()).Info("range", zap.String("start", hex.EncodeToString(r.start)), zap.String("end", hex.EncodeToString(r.end)))
}
Expand Down

0 comments on commit 2f9dc76

Please sign in to comment.