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

Unified Diff: milo/appengine/swarming/html.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
Index: milo/appengine/swarming/html.go
diff --git a/milo/appengine/swarming/html.go b/milo/appengine/swarming/html.go
index 0ecb2d405b4582252015d3325e800b60ed2d1ef5..837fd8686eca07b6fb38b1051713620688915f31 100644
--- a/milo/appengine/swarming/html.go
+++ b/milo/appengine/swarming/html.go
@@ -86,14 +86,15 @@ func (b Build) Render(c context.Context, r *http.Request, p httprouter.Params) (
}
}
- result, err := swarmingBuildImpl(c, r.URL.String(), getServer(r), id)
+ result, prefetch, err := swarmingBuildImpl(c, r.URL.String(), getServer(r), id)
if err != nil {
return nil, convertErr(err)
}
// Render into the template
args := &templates.Args{
- "Build": result,
+ "Build": result,
+ "Prefetch": prefetch,
}
return args, nil
}

Powered by Google App Engine
This is Rietveld 408576698