Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
3bb3f7dd
Commit
3bb3f7dd
authored
Dec 27, 2018
by
Frederic Van Espen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix code style
parent
e8419fb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/backup/manager.rb
lib/backup/manager.rb
+5
-5
No files found.
lib/backup/manager.rb
View file @
3bb3f7dd
...
...
@@ -234,11 +234,11 @@ module Backup
end
def
tar_file
if
ENV
[
'BACKUP'
]
@tar_file
||=
ENV
[
'BACKUP'
]
+
"
#{
FILE_NAME_SUFFIX
}
"
else
@tar_file
||=
"
#{
backup_information
[
:backup_created_at
].
strftime
(
'%s_%Y_%m_%d_'
)
}#{
backup_information
[
:gitlab_version
]
}#{
FILE_NAME_SUFFIX
}
"
end
@tar_file
||=
if
ENV
[
'BACKUP'
]
ENV
[
'BACKUP'
]
+
"
#{
FILE_NAME_SUFFIX
}
"
else
"
#{
backup_information
[
:backup_created_at
].
strftime
(
'%s_%Y_%m_%d_'
)
}#{
backup_information
[
:gitlab_version
]
}#{
FILE_NAME_SUFFIX
}
"
end
end
def
backup_information
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment