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

Unified Diff: milo/appengine/swarming/html_data.go

Issue 2250263005: Milo: Prefetch logs that are failures (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Also add prefetch Created 4 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
« milo/appengine/swarming/build.go ('K') | « milo/appengine/swarming/html.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/swarming/html_data.go
diff --git a/milo/appengine/swarming/html_data.go b/milo/appengine/swarming/html_data.go
index 1f97e9693156e6aa5eb51fd8bcf643e0be05898f..9c7258d3dad5585d76bceb55c86014d8df2ae43f 100644
--- a/milo/appengine/swarming/html_data.go
+++ b/milo/appengine/swarming/html_data.go
@@ -87,13 +87,13 @@ func (b TestableBuild) TestData() []settings.TestBundle {
c := context.Background()
c, _ = testclock.UseTime(c, time.Date(2016, time.March, 14, 11, 0, 0, 0, time.UTC))
for _, tc := range getTestCases() {
- build, err := swarmingBuildImpl(c, "foo", "debug", tc)
+ build, prefetch, err := swarmingBuildImpl(c, "foo", "debug", tc)
if err != nil {
panic(fmt.Errorf("Error while processing %s: %s", tc, err))
}
results = append(results, settings.TestBundle{
Description: tc,
- Data: templates.Args{"Build": build},
+ Data: templates.Args{"Build": build, "Prefetch": prefetch},
})
}
return results
« milo/appengine/swarming/build.go ('K') | « milo/appengine/swarming/html.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698