diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2018-03-26 21:21:49 +0300 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2018-04-03 17:22:13 +0300 |
commit | ddfc661f794ca02654853a9e223b9a5f3fb983ab (patch) | |
tree | 36f308e8362e986f4990323216296c02a0eac6ff /lib/gitlab/legacy_github_import/importer.rb | |
parent | 141748929dd006e4b506028e44e7dfdf3988c936 (diff) |
Use shard name in Git::GitlabProjects instead of shard path
Closes gitaly#1110
Diffstat (limited to 'lib/gitlab/legacy_github_import/importer.rb')
-rw-r--r-- | lib/gitlab/legacy_github_import/importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/legacy_github_import/importer.rb b/lib/gitlab/legacy_github_import/importer.rb index 0526ef9eb13..7edd0ad2033 100644 --- a/lib/gitlab/legacy_github_import/importer.rb +++ b/lib/gitlab/legacy_github_import/importer.rb @@ -259,7 +259,7 @@ module Gitlab def import_wiki unless project.wiki.repository_exists? wiki = WikiFormatter.new(project) - gitlab_shell.import_repository(project.repository_storage_path, wiki.disk_path, wiki.import_url) + gitlab_shell.import_repository(project.repository_storage, wiki.disk_path, wiki.import_url) end rescue Gitlab::Shell::Error => e # GitHub error message when the wiki repo has not been created, |