mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
feat: parse runner from ctx
This commit is contained in:
@@ -9,6 +9,7 @@ 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"
|
||||
)
|
||||
|
||||
@@ -20,5 +21,6 @@ func RunnerRoute() (string, http.Handler) {
|
||||
return runnerv1connect.NewRunnerServiceHandler(
|
||||
runnerService,
|
||||
compress1KB,
|
||||
withRunner,
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user