From 4a8c2c14c61206da2cb81f6ce42afb46f5b51d9b Mon Sep 17 00:00:00 2001 From: Darren Dowker Date: Wed, 24 Apr 2024 16:24:47 -0700 Subject: [PATCH] fix typo --- broker/fragment/store_gcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broker/fragment/store_gcs.go b/broker/fragment/store_gcs.go index b639029d..f5cfd876 100644 --- a/broker/fragment/store_gcs.go +++ b/broker/fragment/store_gcs.go @@ -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)