]> Cypherpunks repositories - gostls13.git/commitdiff
dashboard: send builder in commit POST query string
authorAndrew Gerrand <adg@golang.org>
Tue, 20 Dec 2011 22:59:45 +0000 (09:59 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 20 Dec 2011 22:59:45 +0000 (09:59 +1100)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5498055

misc/dashboard/builder/http.go

index 41ed6565e528f6676b2cdf53c8252d0577e671eb..fb6d3e926439c930509035a96158cb6f5f11a7ea 100644 (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