mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 02:46:11 +02:00
more human friendly name
This commit is contained in:
parent
8dc2be80ef
commit
5dcd1fdf46
@ -82,9 +82,9 @@ class Fluentd
|
||||
|
||||
private
|
||||
|
||||
def exec_dryrun(exe, file_path = nil)
|
||||
def exec_dryrun(command, file_path = nil)
|
||||
Bundler.with_clean_env do
|
||||
system("#{exe} -q --dry-run #{options_to_argv(config_file: file_path)}", out: File::NULL, err: File::NULL)
|
||||
system("#{command} -q --dry-run #{options_to_argv(config_file: file_path)}", out: File::NULL, err: File::NULL)
|
||||
raise ::Fluentd::Agent::ConfigError, last_error_message unless $?.exitstatus.zero?
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user