mirror of
https://github.com/golang/go
synced 2024-11-05 17:46:16 -07:00
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
|
||||
}
|
||||
|
||||
func builderPriority(builder string) int {
|
||||
func builderPriority(builder string) (p int) {
|
||||
// Put -temp builders at the end, always.
|
||||
if strings.HasSuffix(builder, "-temp") {
|
||||
return 20
|
||||
defer func() { p += 20 }()
|
||||
}
|
||||
// Group race builders together.
|
||||
if isRace(builder) {
|
||||
|
Loading…
Reference in New Issue
Block a user