about summary refs log tree commit diff
path: root/tools/nixery/main.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-08T16·47+0100
committerVincent Ambo <github@tazj.in>2019-08-08T17·58+0100
commit993fda337755e02e4505b0a85f14581baa8ed1d0 (patch)
treebdb0b05963a440e40e9faf9bbbaac1f06ca01150 /tools/nixery/main.go
parent12a853fab74de9d146580891d8b70a7c216d2c83 (diff)
fix(go): Fix breakage in unsigned URLs
This affected the public instance which is still running without URL
signing. Should add some monitoring!
Diffstat (limited to 'tools/nixery/main.go')
-rw-r--r--tools/nixery/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/main.go b/tools/nixery/main.go
index 291cdf52d7e6..d20ede2eb587 100644
--- a/tools/nixery/main.go
+++ b/tools/nixery/main.go
@@ -328,7 +328,7 @@ func constructLayerUrl(cfg *config, digest string) (string, error) {
 		opts.Expires = time.Now().Add(5 * time.Minute)
 		return storage.SignedURL(cfg.bucket, object, &opts)
 	} else {
-		return ("https://storage.googleapis.com" + cfg.bucket + "/" + object), nil
+		return ("https://storage.googleapis.com/" + cfg.bucket + "/" + object), nil
 	}
 }