summaryrefslogtreecommitdiff
path: root/lib/gitlab/legacy_github_import/importer.rb
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2018-03-26 20:21:49 +0200
committerAhmad Sherif <me@ahmadsherif.com>2018-03-27 13:12:24 +0200
commitf8d3ca69ecbf4ff69544b482143c6a9462652bef (patch)
treebdff1d0640556a2bada61803ef75630af50bc284 /lib/gitlab/legacy_github_import/importer.rb
parent3adbc579bc45bf61510bc83900d07e8b0bafa088 (diff)
downloadgitlab-ce-f8d3ca69ecbf4ff69544b482143c6a9462652bef.tar.gz
Use shard name in Git::GitlabProjects instead of shard pathfix/use-shard-name-in-gitlab-projects-instead-of-shard-path
Related to gitaly#1110
Diffstat (limited to 'lib/gitlab/legacy_github_import/importer.rb')
-rw-r--r--lib/gitlab/legacy_github_import/importer.rb2
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,