summaryrefslogtreecommitdiff
path: root/lib/backup
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2017-08-16 04:49:54 +0200
committerGabriel Mazetto <brodock@gmail.com>2017-08-22 06:33:20 +0200
commitd17a7be8308b06b7077a7cffc5d258148ee08c87 (patch)
tree3c5e5f47644f5d605649ee977654788d4f512739 /lib/backup
parent78823675b24e82e73a523ad98f1dec78bec6976c (diff)
downloadgitlab-ce-d17a7be8308b06b7077a7cffc5d258148ee08c87.tar.gz
Refactor project and storage types
Diffstat (limited to 'lib/backup')
-rw-r--r--lib/backup/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb
index 88821ae56e0..4e92be85110 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_storage_path_exist
+ project.ensure_storage_path_exists
cmd = if File.exist?(path_to_project_bundle)
%W(#{Gitlab.config.git.bin_path} clone --bare #{path_to_project_bundle} #{path_to_project_repo})