File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
keps/sig-scheduling/5142-pop-backoffq-when-activeq-empty Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -223,11 +223,11 @@ the whole backoff time expiration will be eventually compared. See the pseudocod
223
223
``` go
224
224
func podsCompareBackoffCompleted (pInfo1 , pInfo2 *framework .QueuedPodInfo ) bool {
225
225
if pInfo1.BackoffTime .InSeconds () != pInfo2.BackoffTime .InSeconds () {
226
- return pInfo1.BackoffTime .Before (pInfo2.BackoffTime )
227
- }
228
- if pInfo1.Priority != pInfo2.Priority {
229
- return pInfo1.Priority < pInfo2.Priority
230
- }
226
+ return pInfo1.BackoffTime .Before (pInfo2.BackoffTime )
227
+ }
228
+ if pInfo1.Priority != pInfo2.Priority {
229
+ return pInfo1.Priority < pInfo2.Priority
230
+ }
231
231
return pInfo1.BackoffTime .Before (pInfo2.BackoffTime )
232
232
}
233
233
```
You can’t perform that action at this time.
0 commit comments