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

Unified Diff: impl/prod/context.go

Issue 1772943003: Add wrappers for the module module (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 4 years, 9 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: impl/prod/context.go
diff --git a/impl/prod/context.go b/impl/prod/context.go
index 92cb8af809de554a8206e186c7c277f577b67e85..983b06b01018a0c753aeb68b80428ed9cf768c1f 100644
--- a/impl/prod/context.go
+++ b/impl/prod/context.go
@@ -70,7 +70,7 @@ func AEContextNoTxn(c context.Context) context.Context {
func setupAECtx(c, aeCtx context.Context) context.Context {
c = context.WithValue(c, prodContextKey, aeCtx)
c = context.WithValue(c, prodContextNoTxnKey, aeCtx)
- return useMail(useUser(useURLFetch(useRDS(useMC(useTQ(useGI(useLogging(c))))))))
+ return useModule(useMail(useUser(useURLFetch(useRDS(useMC(useTQ(useGI(useLogging(c)))))))))
}
// Use adds production implementations for all the gae services to the
@@ -82,6 +82,7 @@ func setupAECtx(c, aeCtx context.Context) context.Context {
// - github.com/luci/gae/service/info
// - github.com/luci/gae/service/mail
// - github.com/luci/gae/service/memcache
+// - github.com/luci/gae/service/module
// - github.com/luci/gae/service/taskqueue
// - github.com/luci/gae/service/urlfetch
// - github.com/luci/gae/service/user
« impl/memory/module.go ('K') | « impl/memory/module.go ('k') | impl/prod/module.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698