go.tools/dashboard/app: fix column order for -temp builders

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/138760044
This commit is contained in:
Andrew Gerrand 2014-08-28 10:57:52 +10:00
parent f34e673079
commit 61ce470a5e
1 changed files with 2 additions and 2 deletions

View File

@ -158,10 +158,10 @@ func (s builderOrder) Less(i, j int) bool {
return pi < pj return pi < pj
} }
func builderPriority(builder string) int { func builderPriority(builder string) (p int) {
// Put -temp builders at the end, always. // Put -temp builders at the end, always.
if strings.HasSuffix(builder, "-temp") { if strings.HasSuffix(builder, "-temp") {
return 20 defer func() { p += 20 }()
} }
// Group race builders together. // Group race builders together.
if isRace(builder) { if isRace(builder) {