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

Unified Diff: appengine/gaemiddleware/context.go

Issue 2248893002: Settings page for analytics ID (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: y Created 4 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 | « no previous file | milo/appengine/frontend/expectations/buildbot-buildbot.TestableBuild-Debug_page-_CrWinGoma_30608.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/gaemiddleware/context.go
diff --git a/appengine/gaemiddleware/context.go b/appengine/gaemiddleware/context.go
index f67f6d674d065ad342e52429cde4908dd78e67eb..7f14ab67b56fc25e97c78b9a2c21450949d0c03e 100644
--- a/appengine/gaemiddleware/context.go
+++ b/appengine/gaemiddleware/context.go
@@ -79,9 +79,9 @@ func WithProd(c context.Context, req *http.Request) context.Context {
c = settings.Use(c, globalSettings)
// Fetch and apply configuration stored in the datastore.
- settings := fetchCachedSettings(c)
- c = logging.SetLevel(c, settings.LoggingLevel)
- if !settings.DisableDSCache {
+ cachedSettings := fetchCachedSettings(c)
+ c = logging.SetLevel(c, cachedSettings.LoggingLevel)
+ if !cachedSettings.DisableDSCache {
c = dscache.AlwaysFilterRDS(c, nil)
}
« no previous file with comments | « no previous file | milo/appengine/frontend/expectations/buildbot-buildbot.TestableBuild-Debug_page-_CrWinGoma_30608.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698