Commit 3bb3f7dd authored by Frederic Van Espen's avatar Frederic Van Espen

fix code style

parent e8419fb5
...@@ -234,10 +234,10 @@ module Backup ...@@ -234,10 +234,10 @@ module Backup
end end
def tar_file def tar_file
if ENV['BACKUP'] @tar_file ||= if ENV['BACKUP']
@tar_file ||= ENV['BACKUP'] + "#{FILE_NAME_SUFFIX}" ENV['BACKUP'] + "#{FILE_NAME_SUFFIX}"
else else
@tar_file ||= "#{backup_information[:backup_created_at].strftime('%s_%Y_%m_%d_')}#{backup_information[:gitlab_version]}#{FILE_NAME_SUFFIX}" "#{backup_information[:backup_created_at].strftime('%s_%Y_%m_%d_')}#{backup_information[:gitlab_version]}#{FILE_NAME_SUFFIX}"
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment