app/models/fluentd/agent/td_agent.rb in fluentd-ui-0.3.13 vs app/models/fluentd/agent/td_agent.rb in fluentd-ui-0.3.14
- old
+ new
@@ -14,9 +14,13 @@
def version
`/usr/sbin/td-agent --version`.strip
end
+ def dryrun!(file_path = nil)
+ exec_dryrun("/usr/sbin/td-agent", file_path)
+ end
+
case FluentdUI.platform
when :macosx
include Macosx
when :unix
include Unix