diff --git a/broker/client/reader.go b/broker/client/reader.go index afe5e013..e464a651 100644 --- a/broker/client/reader.go +++ b/broker/client/reader.go @@ -302,7 +302,7 @@ func OpenFragmentURL(ctx context.Context, fragment pb.Fragment, offset int64, ur } func OpenUnsignedFragmentURL(ctx context.Context, fragment pb.Fragment, offset int64, url *url.URL) (*FragmentReader, error) { - if rdr, err = gcs.open(r.ctx, fragURL, *r.Response.Fragment); err != nil { + if rdr, err := gcs.open(ctx, url, fragment); err != nil { return nil, err }