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

Unified Diff: Tools/GardeningServer/model/ct-builder-list.html

Issue 555263004: Add hung bots to sheriff-o-matic view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address nits. Created 6 years, 3 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: Tools/GardeningServer/model/ct-builder-list.html
diff --git a/Tools/GardeningServer/model/ct-builder-list.html b/Tools/GardeningServer/model/ct-builder-list.html
index a2d3959f18de3cfa42412bb81465f1823417ba57..14d5317eac84a752f1190309488200ee14c90764 100644
--- a/Tools/GardeningServer/model/ct-builder-list.html
+++ b/Tools/GardeningServer/model/ct-builder-list.html
@@ -11,6 +11,9 @@ found in the LICENSE file.
function CTBuilderList(failures) {
this.builders = [];
+ if (!Array.isArray(failures))
+ failures = [failures];
+
var builderMap = {};
failures.forEach(function(failure) {
var results = failure.resultNodesByBuilder;
« no previous file with comments | « Tools/GardeningServer/model/ct-builder-failure-group-data.html ('k') | Tools/GardeningServer/model/ct-builder-revisions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698