Skip to content

Commit

Permalink
fix comment missed to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tagomoris committed Oct 5, 2016
1 parent b43fa56 commit 7b89fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ def metadata(tag, time, record)
end

def metadata_for_test(tag, time, record)
raise "BUG: #test_metadata is available only when no actual metadata exists" unless @buffer.metadata_list.empty?
raise "BUG: #metadata_for_test is available only when no actual metadata exists" unless @buffer.metadata_list.empty?
m = metadata(tag, time, record)
@buffer.metadata_list_clear!
m
Expand Down

0 comments on commit 7b89fb5

Please sign in to comment.