Skip to content

Commit e068323

Browse files
committed
Switch to official golang download links
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
1 parent 8245f93 commit e068323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/golang/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func installGoVersion(v, pth string) error {
9595
}
9696
defer os.RemoveAll(tmpPath)
9797

98-
cmd := exec.Command("/bin/bash", "-c", fmt.Sprintf("curl -SLf https://storage.googleapis.com/golang/go%s.linux-amd64.tar.gz | tar -xz --strip 1 -C %s", v, tmpPath))
98+
cmd := exec.Command("/bin/bash", "-c", fmt.Sprintf("curl -SLf https://dl.google.com/go/go%s.linux-amd64.tar.gz | tar -xz --strip 1 -C %s", v, tmpPath))
9999
cmd.Dir = tmpPath
100100
cmd.Stdout = os.Stdout
101101
cmd.Stderr = os.Stderr

0 commit comments

Comments
 (0)