| Index: common/prpc/talk/buildbot/frontend/prpc.go
|
| diff --git a/common/prpc/talk/buildbot/frontend/prpc.go b/common/prpc/talk/buildbot/frontend/prpc.go
|
| index a3c6f5b1963ddbfd47252d34feb2c793c127c283..5b01d08a0777b969bafa5120b877668d9f1a762c 100644
|
| --- a/common/prpc/talk/buildbot/frontend/prpc.go
|
| +++ b/common/prpc/talk/buildbot/frontend/prpc.go
|
| @@ -5,18 +5,16 @@
|
| package buildbot
|
|
|
| import (
|
| - "github.com/julienschmidt/httprouter"
|
| -
|
| "github.com/luci/luci-go/server/discovery"
|
| - "github.com/luci/luci-go/server/middleware"
|
| "github.com/luci/luci-go/server/prpc"
|
| + "github.com/luci/luci-go/server/router"
|
|
|
| "github.com/luci/luci-go/common/prpc/talk/buildbot/proto"
|
| )
|
|
|
| -func InstallAPIRoutes(router *httprouter.Router, base middleware.Base) {
|
| +func InstallAPIRoutes(router *router.Router, handlers []router.Handler) {
|
| server := &prpc.Server{}
|
| buildbot.RegisterBuildbotServer(server, &buildbotService{})
|
| discovery.Enable(server)
|
| - server.InstallHandlers(router, base)
|
| + server.InstallHandlers(router, handlers)
|
| }
|
|
|