From 8a5d5e84e260366861cc2358b3ed68a9a7622d2f Mon Sep 17 00:00:00 2001 From: Darren Dowker Date: Wed, 24 Apr 2024 19:28:34 -0700 Subject: [PATCH] correct object string --- broker/fragment/store_gcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broker/fragment/store_gcs.go b/broker/fragment/store_gcs.go index 6c02c331..dcec760d 100644 --- a/broker/fragment/store_gcs.go +++ b/broker/fragment/store_gcs.go @@ -46,7 +46,7 @@ func (s *gcsBackend) SignGet(ep *url.URL, fragment pb.Fragment, d time.Duration) if opts.GoogleAccessID == "" { // workload identity approach - return client.Bucket(cfg.bucket).SignedURL(cfg.prefix, &opts) + return client.Bucket(cfg.bucket).SignedURL(cfg.rewritePath(cfg.prefix, fragment.ContentPath()), &opts) } else { return storage.SignedURL(cfg.bucket, cfg.rewritePath(cfg.prefix, fragment.ContentPath()), &opts) }