Skip to content

Commit

Permalink
remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
ddowker committed Apr 25, 2024
1 parent 1909820 commit cc1779a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions broker/fragment/store_gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ func (s *gcsBackend) SignGet(ep *url.URL, fragment pb.Fragment, d time.Duration)

if opts.GoogleAccessID == "" {
// workload identity approach
log.WithFields(log.Fields{
"bucket": cfg.bucket,
"prefix": cfg.prefix,
}).Info("SignGet with workload identity approach")
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 cc1779a

Please sign in to comment.