summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb b/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb
index 36eff3078aa..bbe75607351 100644
--- a/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb
+++ b/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb
@@ -144,7 +144,6 @@ module Gitlab
return unless project
- project.cleanup_repository
migration_class.new.safe_perform_one(project, retry_count)
end
end
@@ -178,6 +177,7 @@ module Gitlab
end
def perform_one(project)
+ project.cleanup_repository
project.add_fullpath_config
end
end
@@ -192,6 +192,7 @@ module Gitlab
end
def perform_one(project)
+ project.cleanup_repository
project.remove_fullpath_config
end
end