Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: bufferflies <1045931706@qq.com>
  • Loading branch information
bufferflies committed Jun 19, 2023
1 parent 9fe27cf commit 0afad4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/schedule/schedulers/hot_region.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ func (bs *balanceSolver) tryAddPendingInfluence() bool {
dstStoreID := uint64(0)
if isSplit {
region := bs.GetRegion(bs.ops[0].RegionID())
for id, _ := range region.GetStoreIDs() {
for id := range region.GetStoreIDs() {
srcStoreIDs = append(srcStoreIDs, id)
}
} else {
Expand Down

0 comments on commit 0afad4a

Please sign in to comment.