From 3a80c940f85aaadd8a59727fb86b5e85210e1603 Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Tue, 12 Jun 2018 18:10:13 +0900 Subject: [PATCH] Render shared/vue/in_tail_parse to set configuration for in_tail's parse section Signed-off-by: Kenji Okimoto --- app/views/fluentd/settings/in_tail/after_file_choose.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/fluentd/settings/in_tail/after_file_choose.html.haml b/app/views/fluentd/settings/in_tail/after_file_choose.html.haml index 73866fb..0e6db65 100644 --- a/app/views/fluentd/settings/in_tail/after_file_choose.html.haml +++ b/app/views/fluentd/settings/in_tail/after_file_choose.html.haml @@ -10,7 +10,7 @@ = f.label :path = f.hidden_field :path = f.text_field :path, class: "form-control", disabled: true - = render partial: "shared/vue/in_tail_format", locals: { file: f.object.path, formats: @setting.known_formats, initialSelected: f.object.parse_type || @setting.guess_format } + = render "shared/vue/in_tail_parse", setting: @setting .card %pre.card-body= file_tail(@setting.path, Settings.in_tail_preview_line_count).join("\n")