Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ddowker committed Jun 5, 2024
1 parent f6ff841 commit d5c7718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broker/client/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func (r *Reader) Read(p []byte) (n int, err error) {

}
if fragURL.Scheme != "gs" {
return 0, fmt.Error("TransformSignedURLs is only supported for GCS")
return 0, fmt.Errorf("TransformSignedURLs is only supported for GCS")
}
if r.direct, err = gcs.OpenWithOffset(r.ctx, fragURL,
*r.Response.Fragment, r.Request.Offset); err == nil {
Expand Down

0 comments on commit d5c7718

Please sign in to comment.