Set default API endpoint for fluentd

This commit is contained in:
uu59 2014-05-26 16:39:47 +09:00
parent 2f44b64628
commit d60c2e0989

View File

@ -6,7 +6,7 @@ class FluentdController < ApplicationController
end
def new
@fluentd = Fluentd.new(Fluentd::Agent::Fluentd.default_options) # TODO: not fluentd type
@fluentd = Fluentd.new(Fluentd::Agent::Fluentd.default_options.merge(:api_endpoint => "http://localhost:24220/")) # TODO: not fluentd type
end
def create