Skip to content

Commit 49435c7

Browse files
authored
Merge pull request #113 from fluent/follow-dynamic-database-name
Follow #operate method signature change. Fix #112
2 parents cf85699 + 8ceac64 commit 49435c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fluent/plugin/out_mongo_replset.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ def write(chunk)
3535

3636
private
3737

38-
def operate(client, records)
38+
def operate(database, client, records)
3939
rescue_connection_failure do
40-
super(client, records)
40+
super(database, client, records)
4141
end
4242
end
4343

0 commit comments

Comments
 (0)