diff --git a/app/models/fluentd/agent/process_operation.rb b/app/models/fluentd/agent/process_operation.rb index 45eb581..00c4003 100644 --- a/app/models/fluentd/agent/process_operation.rb +++ b/app/models/fluentd/agent/process_operation.rb @@ -50,7 +50,6 @@ class Fluentd def options_to_argv(opts = {}) argv = "" - argv << " --use-v1-config" argv << " -c #{opts[:config_file] || config_file}" argv << " -d #{opts[:pid_file] || pid_file}" argv << " -o #{opts[:log_file] || log_file}" diff --git a/spec/models/fluentd/agent_spec.rb b/spec/models/fluentd/agent_spec.rb index 0baef63..eab0d69 100644 --- a/spec/models/fluentd/agent_spec.rb +++ b/spec/models/fluentd/agent_spec.rb @@ -18,7 +18,6 @@ describe Fluentd::Agent do it { should include("-c #{instance.config_file}") } it { should include("-d #{instance.pid_file}") } it { should include("-o #{instance.log_file}") } - it { should include("--use-v1-config") } end describe "#start" do