- use correct argument

This commit is contained in:
Jordan Sissel 2011-04-19 04:15:34 -07:00
parent 657128a1b6
commit 6bb6ed3cc0

View file

@ -53,7 +53,7 @@ class LogStash::Outputs::Elasticsearch < LogStash::Outputs::Base
@pending = []
@callback = self.method(:receive_native)
@client = ElasticSearch::Client.new(:cluster => @cluster,
:address => @address, :port => @port)
:host => @address, :port => @port)
end # def register
# TODO(sissel): Needs migration to jrubyland