1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:04:44 -07:00

go.tools/dashboard/builder: use https to talk to dashboard

LGTM=crawshaw
R=golang-codereviews, crawshaw
CC=golang-codereviews
https://golang.org/cl/125100043
This commit is contained in:
Andrew Gerrand 2014-08-13 10:54:52 +10:00
parent 2607e9b47a
commit c98886f21f
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ func dash(meth, cmd string, args url.Values, req, resp interface{}) error {
if *verbose {
log.Println("dash <-", meth, cmd, args, req)
}
cmd = "http://" + *dashboard + "/" + cmd
cmd = *dashboard + "/" + cmd
if len(args) > 0 {
cmd += "?" + args.Encode()
}

View File

@ -45,7 +45,7 @@ var (
doBuild = flag.Bool("build", true, "Build and test packages")
doBench = flag.Bool("bench", false, "Run benchmarks")
buildroot = flag.String("buildroot", defaultBuildRoot(), "Directory under which to build")
dashboard = flag.String("dashboard", "build.golang.org", "Go Dashboard Host")
dashboard = flag.String("dashboard", "https://build.golang.org", "Dashboard app base path")
buildRelease = flag.Bool("release", false, "Build and upload binary release archives")
buildRevision = flag.String("rev", "", "Build specified revision and exit")
buildCmd = flag.String("cmd", filepath.Join(".", allCmd), "Build command (specify relative to go/src/)")