From 72374e5ae4a682a396cd1b25f912a6438373dbb8 Mon Sep 17 00:00:00 2001 From: Yuta Iwama Date: Thu, 15 Aug 2019 16:40:41 +0900 Subject: [PATCH] OneEvent is always not empty Signed-off-by: Yuta Iwama --- lib/fluent/event.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/fluent/event.rb b/lib/fluent/event.rb index b316da073f..2fe2a2525d 100644 --- a/lib/fluent/event.rb +++ b/lib/fluent/event.rb @@ -87,6 +87,10 @@ def dup OneEventStream.new(@time, @record.dup) end + def empty? + false + end + def size 1 end