Fix ES::Client usage

This commit is contained in:
Jordan Sissel 2011-04-19 04:01:31 -07:00
parent b51251cbbb
commit 657128a1b6

View file

@ -49,11 +49,11 @@ class LogStash::Outputs::Elasticsearch < LogStash::Outputs::Base
require "jruby-elasticsearch"
@logger.info(:message => "New ElasticSearch output", :cluster => @cluster,
:host => @host, :port => @port)
:host => @address, :port => @port)
@pending = []
@callback = self.method(:receive_native)
@client = ElasticSearch::Client.new(:cluster => @cluster,
:host => @address, :port => @port)
:address => @address, :port => @port)
end # def register
# TODO(sissel): Needs migration to jrubyland