Skip to content

Commit 6e8d65c

Browse files
committed
Pass gzip_pattern to remote_file constructor correctly
1 parent c6e224f commit 6e8d65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logstash/inputs/s3/poller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def retrieve_objects(&block)
5050
remote_objects.limit(options[:batch_size]).each do |object|
5151
return if stop?
5252

53-
block.call(RemoteFile.new(object, @logger, @gzip_pattern))
53+
block.call(RemoteFile.new(object, @logger, @options[:gzip_pattern]))
5454

5555
if options[:use_start_after]
5656
@last_key_fetched = object.key

0 commit comments

Comments
 (0)