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 01dd5c5 commit 1872484
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 1872484

Please sign in to comment.