diff options
author | Nick Thomas <nick@gitlab.com> | 2018-11-28 13:07:12 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-11-28 13:07:12 +0000 |
commit | c43af89748674a20c80c0efb977769df011e8c41 (patch) | |
tree | 7480553bb391a2379e4393e82d396d774c49e91e /lib | |
parent | ae563565387177e8d15b2402246cab6315e9a04b (diff) | |
parent | e6297a029fe21730961bf0e01224f6a9dbf8a8c4 (diff) | |
download | gitlab-ce-c43af89748674a20c80c0efb977769df011e8c41.tar.gz |
Merge branch 'zj-object-pool-path' into 'master'
Rename Repository table to PoolRepository
See merge request gitlab-org/gitlab-ce!23236
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/cleanup.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/cleanup.rake b/lib/tasks/gitlab/cleanup.rake index e8ae5dfa540..451ba651674 100644 --- a/lib/tasks/gitlab/cleanup.rake +++ b/lib/tasks/gitlab/cleanup.rake @@ -6,7 +6,7 @@ namespace :gitlab do desc "GitLab | Cleanup | Clean namespaces" task dirs: :gitlab_environment do namespaces = Set.new(Namespace.pluck(:path)) - namespaces << Storage::HashedProject::ROOT_PATH_PREFIX + namespaces << Storage::HashedProject::REPOSITORY_PATH_PREFIX Gitaly::Server.all.each do |server| all_dirs = Gitlab::GitalyClient::StorageService @@ -49,7 +49,7 @@ namespace :gitlab do # TODO ignoring hashed repositories for now. But revisit to fully support # possible orphaned hashed repos - next if repo_with_namespace.start_with?(Storage::HashedProject::ROOT_PATH_PREFIX) + next if repo_with_namespace.start_with?(Storage::HashedProject::REPOSITORY_PATH_PREFIX) next if Project.find_by_full_path(repo_with_namespace) new_path = path + move_suffix |