diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-08-01 08:44:25 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-08-01 08:44:25 +0300 |
commit | 597e619080c393daa765bf6e5de74f60121d1f0e (patch) | |
tree | 3a2b53e966fee7b3fa7ff0c3d8345eb91ee5fbfa /lib/backup | |
parent | 07b574b41cb0ff4518895ea4e6c719e453fdc4e3 (diff) |
Rename ensure_dir_exist -> ensure_storage_path_exist
Diffstat (limited to 'lib/backup')
-rw-r--r-- | lib/backup/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb index 05175d51963..88821ae56e0 100644 --- a/lib/backup/repository.rb +++ b/lib/backup/repository.rb @@ -75,7 +75,7 @@ module Backup path_to_project_repo = path_to_repo(project) path_to_project_bundle = path_to_bundle(project) - project.ensure_dir_exist + project.ensure_storage_path_exist cmd = if File.exist?(path_to_project_bundle) %W(#{Gitlab.config.git.bin_path} clone --bare #{path_to_project_bundle} #{path_to_project_repo}) |