Skip to content

Commit 023e192

Browse files
author
Raihan Habib
committed
Fix InvalidDatabaseName issue when using Replica_set with :url option
2 parents 6858052 + cb8d4ef commit 023e192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/in_mongo_tail.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def node_string
135135
when @database
136136
["#{@host}:#{@port}"]
137137
when @url
138-
"#{@url}"
138+
@url
139139
end
140140
end
141141

0 commit comments

Comments
 (0)