add runners management ui

This commit is contained in:
Lunny Xiao authored and Jason Song committed 2022-11-25 17:48:43 +08:00
1 parent 2ea693cdd2
commit 931d8c2c21
13 files changed
+779 -123

No files matched your search

+1 -1
View File
@@ -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 {