dashboard: send builder in commit POST query string

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5498055
This commit is contained in:
Andrew Gerrand 2011-12-21 09:59:45 +11:00
parent e83cd7f750
commit b0eb68ad16
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,8 @@ func (b *Builder) recordResult(ok bool, pkg, hash, goHash, buildLog string) erro
"OK": ok,
"Log": buildLog,
}
return dash("POST", "result", url.Values{"key": {b.key}}, req, nil)
args := url.Values{"key": {b.key}, "builder": {b.name}}
return dash("POST", "result", args, req, nil)
}
// packages fetches a list of package paths from the dashboard