diff options
author | Stan Hu <stanhu@gmail.com> | 2019-01-17 13:50:18 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-02-05 21:33:10 -0800 |
commit | b103f61450a0553a4a266bd394ae6d6f3c4d10b1 (patch) | |
tree | 8b32b44c235e45bc89b74f23844d3c1b89ab861b /lib/backup | |
parent | 1af22dbe5c4dad1217199ac5e9282dbe26d39aca (diff) | |
download | gitlab-ce-b103f61450a0553a4a266bd394ae6d6f3c4d10b1.tar.gz |
Add convenience methods for creating project and Wiki repositories
This makes it easier to access other project arguments in the future.
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 89dc8014199..22ed1d8e7b4 100644 --- a/lib/backup/repository.rb +++ b/lib/backup/repository.rb @@ -93,7 +93,7 @@ module Backup progress.puts "Error: #{e}".color(:red) end else - restore_repo_success = gitlab_shell.create_repository(project.repository_storage, project.disk_path, project.full_path) + restore_repo_success = gitlab_shell.create_project_repository(project) end if restore_repo_success |