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

Unified Diff: milo/appengine/buildbot/build.go

Issue 2856273004: Milo: Increase test coverage for appengine/buildbot (Closed)
Patch Set: GoFmt 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 | « no previous file | milo/appengine/buildbot/build_test.go » ('j') | milo/appengine/buildbot/build_test.go » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/buildbot/build.go
diff --git a/milo/appengine/buildbot/build.go b/milo/appengine/buildbot/build.go
index 5f0b92f19d184d867e89981ad33f97e4f5381581..ed31847f9b0355373e94b6e8264000ff3ab91ee2 100644
--- a/milo/appengine/buildbot/build.go
+++ b/milo/appengine/buildbot/build.go
@@ -475,7 +475,7 @@ func getDebugBuild(c context.Context, builder string, buildNum int) (*buildbotBu
}
// build fetches a buildbot build and translates it into a miloBuild.
-func build(c context.Context, master, builder string, buildNum int) (*resp.MiloBuild, error) {
+func Build(c context.Context, master, builder string, buildNum int) (*resp.MiloBuild, error) {
var b *buildbotBuild
var err error
if master == "debug" {
« no previous file with comments | « no previous file | milo/appengine/buildbot/build_test.go » ('j') | milo/appengine/buildbot/build_test.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698