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

Unified Diff: appengine/sheriff_o_matic/internal_alerts.py

Issue 1260293009: make version of ts_mon compatible with appengine (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: clean up code Created 5 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: appengine/sheriff_o_matic/internal_alerts.py
diff --git a/appengine/sheriff_o_matic/internal_alerts.py b/appengine/sheriff_o_matic/internal_alerts.py
index 3caeeade973f99cb723f4913960d6bdb8697545d..aa50fff8c775b4f64e8f05648113192cd0ba4b91 100644
--- a/appengine/sheriff_o_matic/internal_alerts.py
+++ b/appengine/sheriff_o_matic/internal_alerts.py
@@ -19,6 +19,7 @@ class InternalAlertsHandler(alerts.AlertsHandler):
def get(self):
# Require users to be logged to see builder alerts from private/internal
# trees.
+ alerts.increment_monarch('internal-alerts')
user = users.get_current_user()
if not user:
ret = {}

Powered by Google App Engine
This is Rietveld 408576698