Skip to content

Commit

Permalink
Merge pull request #616 from fluent/fix-wrong-conf-usage
Browse files Browse the repository at this point in the history
configure requires Config::Element, not Hash. fixes #614
  • Loading branch information
repeatedly committed Jun 12, 2015
2 parents 0efb133 + 50bad16 commit f0515be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fluent/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def initialize(regexp, conf={})
super()
@regexp = regexp
unless conf.empty?
conf = Config::Element.new('default_regexp_conf', '', conf, [])
configure(conf)
end

Expand Down

0 comments on commit f0515be

Please sign in to comment.