Skip to content

Commit 88f4d73

Browse files
committed
cmd/coordinator: use gitmirror for trybot runs also
(been in production for past few days) Updates golang/go#19166 Change-Id: Iee301aac5aa87c6644ac1253d7c0bd6c522ff066 Reviewed-on: https://go-review.googlesource.com/37380 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent bb130ce commit 88f4d73

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cmd/coordinator/coordinator.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3105,9 +3105,8 @@ func getSourceTgz(sl spanLogger, repo, rev string, isTry bool) (tgz io.Reader, e
31053105
return tgzBytes, nil
31063106
}
31073107

3108-
// TODO(braditz): remove the isTry part and always use the gitmirror. golang.org/issue/19166
3109-
if useWatcher() && !isTry {
3110-
sp := sl.createSpan("get_source_from_watcher")
3108+
if useWatcher() {
3109+
sp := sl.createSpan("get_source_from_gitmirror")
31113110
tgzBytes, err := getSourceTgzFromGitMirror(repo, rev)
31123111
if err == nil {
31133112
sourceCache.Add(key, tgzBytes)

0 commit comments

Comments
 (0)