Skip to content

Commit

Permalink
Treat v0.14 MultiOutput plugin as output plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmo0920 committed Aug 24, 2016
1 parent 1ced97d commit 3a0267b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/in_monitor_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def all_plugins
# from the plugin `pe` recursively
def self.collect_children(pe, array=[])
array << pe
if pe.is_a?(Fluent::Plugin::MultiOutput) && pe.respond_to?(:outputs)
if pe.is_a?(Fluent::Plugin::MultiOutput) || pe.is_a?(Fluent::MultiOutput) && pe.respond_to?(:outputs)
pe.outputs.each {|nop|
collect_children(nop, array)
}
Expand Down

0 comments on commit 3a0267b

Please sign in to comment.