Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ddowker committed Jun 6, 2024
1 parent 791498f commit 29f8aea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion broker/client/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,12 @@ 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(ctx, url, fragment); err != nil {
var (
rdr io.ReadCloser
err error
)

if rdr, err = gcs.open(ctx, url, fragment); err != nil {
return nil, err
}

Expand Down

0 comments on commit 29f8aea

Please sign in to comment.