Closed cwurm closed 7 years ago
That build failure does not seem related to this PR...
LGTM
@cwurm can you bump version and changelog?
@suyograo Done. The gemspec was already at 3.0.5
while the changelog was still at 3.0.3
, so I bumped everything up to 3.0.6
and rebased.
@suyograo can I merge this?
@suyograo ping
@grok.match
returnsfalse
if no match was found, and aGrok::Match
object otherwise (https://github.com/jordansissel/ruby-grok/blob/master/lib/grok.rb).Checking the return value with
!match.nil?
is incorrect, as!false.nil?
istrue
- so the debug output here will always betrue
regardless of whether the grok pattern matched or not.This fixes it.