Skip to content
Snippets Groups Projects
Commit 62f29887 authored by Ahmad Hassan's avatar Ahmad Hassan
Browse files

Return from prepare directory if gitaly skip is enabled

parent 42cabcb1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -67,6 +67,8 @@ module Backup
end
 
def prepare_directories
return if GitalyClient.feature_enabled?(:backup_skip_prepare_directories)
Gitlab.config.repositories.storages.each do |name, repository_storage|
gitaly_migrate(:remove_repositories) do |is_enabled|
# TODO: Need to find a way to do this for gitaly
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment