mirror of
https://github.com/go-gitea/gitea
synced 2025-10-28 09:58:25 +00:00
feat: assign task to runner
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
|
||||
"code.gitea.io/gitea/routers/api/bots/runner"
|
||||
"code.gitea.io/gitea/routers/api/bots/scheduler/queue"
|
||||
|
||||
"gitea.com/gitea/proto-go/runner/v1/runnerv1connect"
|
||||
)
|
||||
|
||||
@@ -21,6 +20,6 @@ func RunnerRoute() (string, http.Handler) {
|
||||
return runnerv1connect.NewRunnerServiceHandler(
|
||||
runnerService,
|
||||
compress1KB,
|
||||
withRunner,
|
||||
runner.WithRunner,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user