Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Commit d4b7850

Browse files
author
Ahmed Ammar
committed
test
1 parent 35aca4f commit d4b7850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/logstash/inputs/dynamodb.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def scan(logstash_queue)
285285
start_table_copy_thread
286286

287287
scan_queue = @logstash_writer.getQueue()
288-
while !$exit
288+
while !$exit?
289289
event = scan_queue.take()
290290
if event.getEntry().nil? and event.getSize() == -1
291291
break
@@ -299,7 +299,7 @@ def stream(logstash_queue)
299299
@logger.log("Starting stream...")
300300
start_kcl_thread
301301

302-
while !$exit
302+
while !$exit?
303303
event = @queue.pop()
304304
queue_event(@parser.parse_stream(event), logstash_queue, @host)
305305
end # while true

0 commit comments

Comments
 (0)