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

Unified Diff: tools/gardening/lib/src/buildbot_loading.dart

Issue 2912343002: Add BuildBotClient to abstract http/logdog access (Closed)
Patch Set: Created 3 years, 7 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 | « tools/gardening/lib/src/buildbot_data.dart ('k') | tools/gardening/lib/src/buildbot_structures.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gardening/lib/src/buildbot_loading.dart
diff --git a/tools/gardening/lib/src/buildbot_loading.dart b/tools/gardening/lib/src/buildbot_loading.dart
index 35cf6d7c09ff799470ad077bc86ea2358469b355..9a2d53ae7751e740fa65e6ae4c81eeeaaf69fd21 100644
--- a/tools/gardening/lib/src/buildbot_loading.dart
+++ b/tools/gardening/lib/src/buildbot_loading.dart
@@ -113,7 +113,8 @@ BuildResult parseTestStepResult(BuildUri buildUri, String text) {
}
}
}
- return new BuildResult(buildUri, buildNumber, results, failures, timings);
+ return new BuildResult(buildUri, buildNumber ?? buildUri.absoluteBuildNumber,
+ results, failures, timings);
}
/// Create the [Timing]s for the [line] as found in the top-20 timings of a
« no previous file with comments | « tools/gardening/lib/src/buildbot_data.dart ('k') | tools/gardening/lib/src/buildbot_structures.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698