From 15790204768b9cbea056150e530d4c39d2e62b47 Mon Sep 17 00:00:00 2001 From: Dmitriy Vyukov Date: Wed, 26 Jun 2013 21:20:53 +0400 Subject: [PATCH] misc/dashboard: show all race builders as "race" race is more important than arch (moreover race implies x64) don't know how to test it R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/10484046 --- misc/dashboard/app/build/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/dashboard/app/build/ui.go b/misc/dashboard/app/build/ui.go index cc3629a5ae..3e2b523e9e 100644 --- a/misc/dashboard/app/build/ui.go +++ b/misc/dashboard/app/build/ui.go @@ -211,7 +211,7 @@ func builderArch(s string) string { // builderArchShort returns a short arch tag for a builder string func builderArchShort(s string) string { - if s == "linux-amd64-race" { + if strings.Contains(s+"-", "-race-") { return "race" } arch := builderArch(s) -- 2.48.1