mirror of
https://github.com/go-gitea/gitea
synced 2025-10-31 19:38:23 +00:00
add runners management ui
This commit is contained in:
@@ -24,7 +24,7 @@ func PushToQueue(task *bots_model.Build) {
|
||||
|
||||
// Dispatch assign a task to a runner
|
||||
func Dispatch(task *bots_model.Build) (*bots_model.Runner, error) {
|
||||
runner, err := bots_model.GetUsableRunner(bots_model.GetRunnerOptions{
|
||||
runner, err := bots_model.GetUsableRunner(bots_model.FindRunnerOptions{
|
||||
RepoID: task.RepoID,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user