dbjobqueue: Add AllRootJobIDs implementation
Related: RHEL-60120
This commit is contained in:
parent
d8285a0b74
commit
5cddc4223d
6 changed files with 64 additions and 14 deletions
|
|
@ -307,7 +307,7 @@ func (h *apiHandlers) targetResultToUploadStatus(jobId uuid.UUID, t *target.Targ
|
|||
|
||||
// GetComposeList returns a list of the root job UUIDs
|
||||
func (h *apiHandlers) GetComposeList(ctx echo.Context) error {
|
||||
jobs, err := h.server.workers.AllRootJobIDs()
|
||||
jobs, err := h.server.workers.AllRootJobIDs(ctx.Request().Context())
|
||||
if err != nil {
|
||||
return HTTPErrorWithInternal(ErrorGettingComposeList, err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue