diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2018-03-26 20:21:49 +0200 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2018-04-03 16:22:13 +0200 |
commit | ddfc661f794ca02654853a9e223b9a5f3fb983ab (patch) | |
tree | 36f308e8362e986f4990323216296c02a0eac6ff /lib/gitlab/github_import | |
parent | 141748929dd006e4b506028e44e7dfdf3988c936 (diff) | |
download | gitlab-ce-ddfc661f794ca02654853a9e223b9a5f3fb983ab.tar.gz |
Use shard name in Git::GitlabProjects instead of shard path
Closes gitaly#1110
Diffstat (limited to 'lib/gitlab/github_import')
-rw-r--r-- | lib/gitlab/github_import/importer/repository_importer.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/github_import/importer/repository_importer.rb b/lib/gitlab/github_import/importer/repository_importer.rb index b1b283e98b5..01168abde6c 100644 --- a/lib/gitlab/github_import/importer/repository_importer.rb +++ b/lib/gitlab/github_import/importer/repository_importer.rb @@ -56,9 +56,8 @@ module Gitlab def import_wiki_repository wiki_path = "#{project.disk_path}.wiki" - storage_path = project.repository_storage_path - gitlab_shell.import_repository(storage_path, wiki_path, wiki_url) + gitlab_shell.import_repository(project.repository_storage, wiki_path, wiki_url) true rescue Gitlab::Shell::Error => e |