mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-21 06:21:13 +02:00
commit
edf6413e32
@ -48,8 +48,8 @@ describe 'Fluentd::Agent::LocalCommon' do
|
|||||||
|
|
||||||
before do
|
before do
|
||||||
::Settings.max_backup_files_count.times do |i|
|
::Settings.max_backup_files_count.times do |i|
|
||||||
backpued_time = now - (i + 1).hours
|
backuped_time = now - (i + 1).hours
|
||||||
FileUtils.touch File.join(daemon.agent.config_backup_dir , "#{backpued_time.strftime('%Y%m%d_%H%M%S')}.conf")
|
FileUtils.touch File.join(daemon.agent.config_backup_dir , "#{backuped_time.strftime('%Y%m%d_%H%M%S')}.conf")
|
||||||
end
|
end
|
||||||
|
|
||||||
daemon.agent.config_write config_contents #add before conf
|
daemon.agent.config_write config_contents #add before conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user