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:
parent
f34e673079
commit
61ce470a5e
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue