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

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

Issue 2986033003: [scheduler]: ACLs phase 1 - per Job ACL specification and enforcement. (Closed)
Patch Set: Review. 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
« no previous file with comments | « scheduler/appengine/engine/engine_test.go ('k') | scheduler/appengine/messages/cron.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « scheduler/appengine/engine/engine_test.go ('k') | scheduler/appengine/messages/cron.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698