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

Unified Diff: dashboard/dashboard/email_template.py

Issue 1924143002: Make sure that email alerts are sent on bisect fyi jobs failures. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Created 4 years, 8 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 | dashboard/dashboard/update_bug_with_results.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/email_template.py
diff --git a/dashboard/dashboard/email_template.py b/dashboard/dashboard/email_template.py
index fa7bd8a307d871925cbd813d9f713ff8176fa866..290e9001131996bc27e02f99043af4a046e0b85f 100644
--- a/dashboard/dashboard/email_template.py
+++ b/dashboard/dashboard/email_template.py
@@ -320,12 +320,12 @@ def GetBisectFYITryJobEmailReport(job, message):
"""Gets the contents of the email to send once a bisect FYI job completes."""
results_data = job.results_data
subject_dict = {
- 'bot': results_data['bisect_bot'],
+ 'bot': job.bot,
'test_name': job.job_name,
}
report_dict = {
'message': message,
- 'bot': results_data['bisect_bot'],
+ 'bot': job.bot,
'job_url': results_data['buildbot_log_url'],
'test_name': job.job_name,
'config': job.config if job.config else 'Undefined',
« no previous file with comments | « no previous file | dashboard/dashboard/update_bug_with_results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698