Skip to content

Commit

Permalink
Fix rebase error: nextBuild should return which build to process
Browse files Browse the repository at this point in the history
The line was lost during a rebase, making the function always return
None
  • Loading branch information
cvicentiu committed Jan 9, 2025
1 parent b732992 commit c349728
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ def build_request_sort_key(request: BuildRequest):
request.getSubmitTime(),
)

return sorted(requests, build_request_sort_key)[0]


def canStartBuild(
builder: Builder, wfb: AbstractWorkerForBuilder, request: BuildRequest
Expand Down

0 comments on commit c349728

Please sign in to comment.