Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ddowker committed Apr 24, 2024
1 parent 49451c2 commit 4a8c2c1
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 @@ -44,7 +44,7 @@ func (s *gcsBackend) SignGet(ep *url.URL, fragment pb.Fragment, d time.Duration)
opts.Method = "GET"
opts.Expires = time.Now().Add(d)

if opt.GoogleAccessID == "" {
if opts.GoogleAccessID == "" {
return client.Bucket(cfg.bucket).SignedURL(cfg.prefix, &opts)
} else {
return storage.SignedURL(cfg.bucket, cfg.rewritePath(cfg.prefix, fragment.ContentPath()), &opts)
Expand Down

0 comments on commit 4a8c2c1

Please sign in to comment.