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

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

Issue 2407153006: Milo: Add builder name to builder page (Closed)
Patch Set: Created 4 years, 2 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/buildbot/builder.go
diff --git a/milo/appengine/buildbot/builder.go b/milo/appengine/buildbot/builder.go
index c86758878ae316ee60a5863126257886f6d4452c..86195e4fc7ace8e5b38d1e77bc2a289c3b9464bc 100644
--- a/milo/appengine/buildbot/builder.go
+++ b/milo/appengine/buildbot/builder.go
@@ -114,7 +114,9 @@ func getCurrentBuilds(c context.Context, master *buildbotMaster, builderName str
// * Current Builds from querying the master json from the datastore.
// * Recent Builds from a cron job that backfills the recent builds.
func builderImpl(c context.Context, masterName, builderName string) (*resp.Builder, error) {
- result := &resp.Builder{}
+ result := &resp.Builder{
+ Name: builderName,
+ }
master, t, err := getMasterJSON(c, masterName)
switch {
case err == ds.ErrNoSuchEntity:

Powered by Google App Engine
This is Rietveld 408576698