Skip to content

Commit

Permalink
remove test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ddowker committed May 23, 2024
1 parent 03af929 commit 0bb1281
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions broker/fragment/store_gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,11 @@ func (s *gcsBackend) SignGet(ep *url.URL, fragment pb.Fragment, d time.Duration)
u.Scheme = "https"
u.Host = "storage.googleapis.com"

log.Info("*** DJD signed urls disabled ***")
return u.String(), nil
} else {
opts.Method = "GET"
opts.Expires = time.Now().Add(d)

log.Info("*** DJD signed urls enabled ***")
return client.Bucket(cfg.bucket).SignedURL(cfg.rewritePath(cfg.prefix, fragment.ContentPath()), &opts)
}
}
Expand Down

0 comments on commit 0bb1281

Please sign in to comment.