Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ddowker committed May 22, 2024
1 parent d32109a commit e3ef20f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions broker/fragment/store_gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (s *gcsBackend) Provider() string {
func (s *gcsBackend) SignGet(ep *url.URL, fragment pb.Fragment, d time.Duration) (string, error) {
log.WithFields(log.Fields{"ep": ep.String(), "fragment": fragment.ContentPath()}).Info("*** DJD1 SignGet() called")

cfg, client, ops, err := s.gcsClient(ep)
cfg, client, opts, err := s.gcsClient(ep)
if err != nil {
return "", err
}
Expand All @@ -53,7 +53,7 @@ func (s *gcsBackend) SignGet(ep *url.URL, fragment pb.Fragment, d time.Duration)
Path: fmt.Sprintf("/%s/%s", cfg.bucket, cfg.rewritePath(cfg.prefix, fragment.ContentPath())),
}
u.Scheme = "https"
u.Host = PathStyle().host(bucket)
u.Host = storage.PathStyle().host(cfg.bucket)

log.WithFields(log.Fields{"url": u.String()}).Info("*** DJD2 SignGet()")
return u.String(), nil
Expand Down

0 comments on commit e3ef20f

Please sign in to comment.