From aca3a63806fce103ad2182701c1384b81e976f07 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 26 Sep 2014 12:21:08 -0700 Subject: [PATCH] dashboard/coordinator: restore buildroot to / So the optimization to avoid hg clone works again. The builder looks at buildroot+"goroot" for an hg clone repo. If it finds it, it can just "hg pull" instead of a slow "hg clone". LGTM=cmang R=cmang, proppy CC=golang-codereviews https://golang.org/cl/147960044 --- dashboard/coordinator/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/coordinator/main.go b/dashboard/coordinator/main.go index 0f7129aa..2c3c7cca 100644 --- a/dashboard/coordinator/main.go +++ b/dashboard/coordinator/main.go @@ -275,7 +275,7 @@ func (conf buildConfig) dockerRunArgs(rev string) (args []string) { "-rev="+rev, "-dashboard="+conf.dashURL, "-tool="+conf.tool, - "-buildroot=/"+conf.tool, + "-buildroot=/", "-v", ) if conf.cmd != "" {