Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Jan 24, 2022
1 parent 0437392 commit 3c1ce48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/schedulers/hot_region.go
Original file line number Diff line number Diff line change
Expand Up @@ -1070,9 +1070,9 @@ func (bs *balanceSolver) buildOperator() (op *operator.Operator, infl *statistic
case -3:
dim = "all"
case -2:
dim = dimToString(bs.firstPriority)
case -1:
dim = dimToString(bs.secondPriority)
case -1:
dim = dimToString(bs.firstPriority)
}

op.SetPriorityLevel(core.HighPriority)
Expand Down

0 comments on commit 3c1ce48

Please sign in to comment.