mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-04 18:36:13 +02:00
Revert "Ensure message as error" (logged_errors method is in the bug)
This reverts commit 8571bb04ee46a0e26193fa6dfb5857813744ff89.
This commit is contained in:
parent
8571bb04ee
commit
2766ea95fe
@ -22,7 +22,7 @@ class Fluentd::Settings::HistoriesController < ApplicationController
|
||||
if @fluentd.agent.dryrun
|
||||
flash = { success: t('messages.dryrun_is_passed') }
|
||||
else
|
||||
flash = { danger: @fluentd.agent.recent_errors(1).first[:subject] }
|
||||
flash = { danger: @fluentd.agent.log_tail(1).first }
|
||||
end
|
||||
redirect_to daemon_setting_history_path(params[:id]), flash: flash
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user