Replace go.googlecode.com fallback with storage.googleapis.com

go.googlecode.com no longer works, storage.googleapis.com does.

Signed-off-by: Evan Owen <kainosnoema@gmail.com>
This commit is contained in:
Evan Owen
2014-07-21 22:12:07 -07:00
parent b3ac750c04
commit f9b3d1699d
+2 -2
View File
@@ -181,8 +181,8 @@ download_binary() {
curl -s -f -L $GO_BINARY_URL > ${GO_BINARY_PATH}
if [[ $? -ne 0 ]]; then
display_error "Failed to download binary go from http://golang.org. Trying https://go.googlecode.com"
GO_BINARY_URL="https://go.googlecode.com/files/${GO_BINARY_FILE}"
display_error "Failed to download binary go from http://golang.org. Trying https://storage.googleapis.com"
GO_BINARY_URL="https://storage.googleapis.com/golang/${GO_BINARY_FILE}"
curl -s -f -L $GO_BINARY_URL > ${GO_BINARY_PATH}