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

Unified Diff: appengine/isolate/handlers_frontend.py

Issue 1708283003: isolateserver: add checkbox to enable ts_mon (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Created 4 years, 10 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: appengine/isolate/handlers_frontend.py
diff --git a/appengine/isolate/handlers_frontend.py b/appengine/isolate/handlers_frontend.py
index f93736c7497398d8b6f43ad7920c01cc3040c283..5ef2947022184392b74d41e2235b1e44fe2bb959 100644
--- a/appengine/isolate/handlers_frontend.py
+++ b/appengine/isolate/handlers_frontend.py
@@ -67,7 +67,8 @@ class RestrictedConfigHandler(auth.AuthenticatingHandler):
def post(self):
# Convert MultiDict into a dict.
params = {
- k: self.request.params.getone(k) for k in self.request.params
+ k: config.GlobalConfig.cast_to_type(k, self.request.params.getone(k))
+ for k in self.request.params
if k not in ('keyid', 'xsrf_token')
}
cfg = config.settings(fresh=True)

Powered by Google App Engine
This is Rietveld 408576698