Skip to content

Commit

Permalink
correct object string
Browse files Browse the repository at this point in the history
  • Loading branch information
ddowker committed Apr 25, 2024
1 parent cc1779a commit 8a5d5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broker/fragment/store_gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 8a5d5e8

Please sign in to comment.