Skip to content

Commit

Permalink
[LM-594] Fixed firehose writer timeout type
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Travis committed Mar 1, 2018
1 parent 3efae98 commit 46d513e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firehose_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ type FirehoseWriterOptionsFn func(*FirehoseWriter) error

// FirehoseWriterResponseReadTimeout is a functional option method for configuring the
// FirehoseWriter's response read timeout
func FirehoseWriterResponseReadTimeout(timeout time.Duration) KinesisWriterOptionsFn {
return func(o *KinesisWriter) error {
func FirehoseWriterResponseReadTimeout(timeout time.Duration) FirehoseWriterOptionsFn {
return func(o *FirehoseWriter) error {
o.responseReadTimeout = timeout
return nil
}
Expand Down

1 comment on commit 46d513e

@jasonyunicorn
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy pasta error. Good find!

Please sign in to comment.