lib/fluent/plugin/out_couch.rb in fluent-plugin-couch-0.3.5 vs lib/fluent/plugin/out_couch.rb in fluent-plugin-couch-0.3.6
- old
+ new
@@ -31,10 +31,10 @@
def configure(conf)
super
end
def start
-
+ super
if @user && @password
@db = CouchRest.database!("#{@protocol}://#{@user}:#{@password}@#{@host}:#{@port}/#{@database}")
else
@db = CouchRest.database!("#{@protocol}://#{@host}:#{@port}/#{@database}")
end