From 46d513eec0d3775fc8ef5ffe155bfe7393a6b2dd Mon Sep 17 00:00:00 2001 From: Dan Travis Date: Thu, 1 Mar 2018 09:05:31 -0600 Subject: [PATCH] [LM-594] Fixed firehose writer timeout type --- firehose_writer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firehose_writer.go b/firehose_writer.go index ac2d604..95453b8 100644 --- a/firehose_writer.go +++ b/firehose_writer.go @@ -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 }