diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-10 21:11:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-10 21:11:24 +0300 |
commit | 93b1f84ccb7c18fa6991fb950d54d4c9b6511b6c (patch) | |
tree | 18c1920dde2bb16f7fbb3d15206deca642a82892 /app/services/projects | |
parent | a45283fcd27598eebd66a97041fa7d79d5a33aa5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/projects')
-rw-r--r-- | app/services/projects/update_repository_storage_service.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/services/projects/update_repository_storage_service.rb b/app/services/projects/update_repository_storage_service.rb index 85fb1890fcd..a9f6afb26c9 100644 --- a/app/services/projects/update_repository_storage_service.rb +++ b/app/services/projects/update_repository_storage_service.rb @@ -8,7 +8,9 @@ module Projects private - def track_repository(_destination_storage_name) + def track_repository(destination_storage_name) + project.update!(repository_storage: destination_storage_name) + # Connect project to pool repository from the new shard project.swap_pool_repository! |