Skip to content

Commit 8329f59

Browse files
jsvdJAndritsch
andcommitted
Update lib/logstash/inputs/elasticsearch/cursor_tracker.rb
Co-authored-by: Joel Andritsch <[email protected]>
1 parent cdedc09 commit 8329f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logstash/inputs/elasticsearch/cursor_tracker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def record_last_value(event)
4949
end
5050

5151
def inject_cursor(query_json)
52-
query_json.gsub(":last_value", @last_value)
52+
query_json.gsub(":last_value", @last_value.to_s)
5353
end
5454
end
5555
end; end; end

0 commit comments

Comments
 (0)