Skip to content

Commit bc40cb2

Browse files
committed
Fix formatting
1 parent f2096df commit bc40cb2

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,11 @@ the whole backoff time expiration will be eventually compared. See the pseudocod
223223
```go
224224
func podsCompareBackoffCompleted(pInfo1, pInfo2 *framework.QueuedPodInfo) bool {
225225
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+
}
231231
return pInfo1.BackoffTime.Before(pInfo2.BackoffTime)
232232
}
233233
```

0 commit comments

Comments
 (0)