summaryrefslogtreecommitdiff
path: root/lib/backup
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-02-14 16:03:24 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-02-14 18:38:20 +0200
commit6676b4f0dd05ffb6071a3329cca4459e7cddcdc3 (patch)
treebd6fa5fa8b337f38406a0bf5376e19db44fd1eaa /lib/backup
parentc48539463ff2250058fbfa9d1811977f01313b7c (diff)
downloadgitlab-ce-6676b4f0dd05ffb6071a3329cca4459e7cddcdc3.tar.gz
Use Namespace#full_path instead of Namespace#path
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
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 d746070913d..91e43dcb114 100644
--- a/lib/backup/repository.rb
+++ b/lib/backup/repository.rb
@@ -12,7 +12,7 @@ module Backup
path_to_project_bundle = path_to_bundle(project)
# Create namespace dir if missing
- FileUtils.mkdir_p(File.join(backup_repos_path, project.namespace.path)) if project.namespace
+ FileUtils.mkdir_p(File.join(backup_repos_path, project.namespace.full_path)) if project.namespace
if project.empty_repo?
$progress.puts "[SKIPPED]".color(:cyan)