Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Unified Diff: scheduler/appengine/frontend/handler.go

Issue 2986033003: [scheduler]: ACLs phase 1 - per Job ACL specification and enforcement. (Closed)
Patch Set: rework Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scheduler/appengine/frontend/handler.go
diff --git a/scheduler/appengine/frontend/handler.go b/scheduler/appengine/frontend/handler.go
index 99eb723e036575d5998c3ac38d6829eb48e4ebe5..abe548e528f434fbf9d426c87f49d86324c157f9 100644
--- a/scheduler/appengine/frontend/handler.go
+++ b/scheduler/appengine/frontend/handler.go
@@ -66,7 +66,7 @@ import (
var (
globalCatalog catalog.Catalog
- globalEngine engine.Engine
+ globalEngine engine.EngineInternal
// Known kinds of tasks.
managers = []task.Manager{
@@ -163,7 +163,7 @@ func init() {
gaemiddleware.InstallHandlersWithMiddleware(r, base)
ui.InstallHandlers(r, base, ui.Config{
- Engine: globalEngine,
+ Engine: globalEngine.PublicAPI(),
Catalog: globalCatalog,
TemplatesPath: "templates",
})
@@ -185,7 +185,7 @@ func init() {
UnaryServerInterceptor: grpcmon.NewUnaryServerInterceptor(nil),
}
scheduler.RegisterSchedulerServer(&api, apiservers.SchedulerServer{
- Engine: globalEngine,
+ Engine: globalEngine.PublicAPI(),
Catalog: globalCatalog,
})
discovery.Enable(&api)

Powered by Google App Engine
This is Rietveld 408576698