Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-15 00:06:14 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-15 00:06:14 +0300
commitb1ffdbb7f92407ceef575e557af07a3e3d067edf (patch)
treef766003da74b0d7d38d45e1e773b21dda6f7125f /app/workers/hashed_storage
parent921d16124a626ad94e14bacb734033b0293ba431 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers/hashed_storage')
-rw-r--r--app/workers/hashed_storage/project_migrate_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/hashed_storage/project_migrate_worker.rb b/app/workers/hashed_storage/project_migrate_worker.rb
index f00a459a097..8c0ec97638f 100644
--- a/app/workers/hashed_storage/project_migrate_worker.rb
+++ b/app/workers/hashed_storage/project_migrate_worker.rb
@@ -16,7 +16,7 @@ module HashedStorage
project = Project.without_deleted.find_by(id: project_id)
break unless project
- old_disk_path ||= project.disk_path
+ old_disk_path ||= Storage::LegacyProject.new(project).disk_path
::Projects::HashedStorage::MigrationService.new(project, old_disk_path, logger: logger).execute
end