Skip to content

Commit 1572942

Browse files
committed
Fix ordering func
1 parent bc40cb2 commit 1572942

File tree

1 file changed

+1
-1
lines changed
  • keps/sig-scheduling/5142-pop-backoffq-when-activeq-empty

1 file changed

+1
-1
lines changed

keps/sig-scheduling/5142-pop-backoffq-when-activeq-empty/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ func podsCompareBackoffCompleted(pInfo1, pInfo2 *framework.QueuedPodInfo) bool {
226226
return pInfo1.BackoffTime.Before(pInfo2.BackoffTime)
227227
}
228228
if pInfo1.Priority != pInfo2.Priority {
229-
return pInfo1.Priority < pInfo2.Priority
229+
return pInfo1.Priority > pInfo2.Priority
230230
}
231231
return pInfo1.BackoffTime.Before(pInfo2.BackoffTime)
232232
}

0 commit comments

Comments
 (0)