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

Unified Diff: milo/frontend/view_console.go

Issue 2984673002: [milo] get console in working shape. (Closed)
Patch Set: fix build Created 3 years, 5 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 | « milo/frontend/appengine/templates/pages/console.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/frontend/view_console.go
diff --git a/milo/frontend/view_console.go b/milo/frontend/view_console.go
index 1150d21d4f9abb01e8dc46f1aa082cdd1673e387..6106e95107353eda94a92c5fb1d138734d000bba 100644
--- a/milo/frontend/view_console.go
+++ b/milo/frontend/view_console.go
@@ -67,7 +67,8 @@ func console(c context.Context, project, name string) (*resp.Console, error) {
for i, b := range def.Builders {
builderNames[i] = b
builders[i].Name = b
- // TODO(hinoka): Add Categories and ShortNames back in.
+ _, _, builders[i].ShortName, _ = buildsource.BuilderID(b).Split()
+ // TODO(hinoka): Add Categories back in.
}
commitNames := make([]string, len(commitInfo.Commits))
« no previous file with comments | « milo/frontend/appengine/templates/pages/console.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698