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
|
|
@ -349,8 +349,8 @@ func (s *Server) JobDependencyChainErrors(id uuid.UUID) (*clienterrors.Error, er
|
|||
}
|
||||
|
||||
// AllRootJobIDs returns a list of top level job UUIDs that the worker knows about
|
||||
func (s *Server) AllRootJobIDs() ([]uuid.UUID, error) {
|
||||
return s.jobs.AllRootJobIDs()
|
||||
func (s *Server) AllRootJobIDs(ctx context.Context) ([]uuid.UUID, error) {
|
||||
return s.jobs.AllRootJobIDs(ctx)
|
||||
}
|
||||
|
||||
func (s *Server) OSBuildJobInfo(id uuid.UUID, result *OSBuildJobResult) (*JobInfo, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue