Change `project.path_with_namespace` to `project.disk_path`

This commit is contained in:
Douglas Barbosa Alexandre 2017-08-07 14:18:05 -03:00
parent 0e191b4ccd
commit e198eea90f
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ module Github
def fetch_wiki_repository
return if project.wiki.repository_exists?
wiki_path = "#{project.path_with_namespace}.wiki"
wiki_path = "#{project.disk_path}.wiki"
gitlab_shell.import_repository(project.repository_storage_path, wiki_path, wiki_url)
rescue Gitlab::Shell::Error => e
# GitHub error message when the wiki repo has not been created,