diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-10 00:07:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-10 00:07:17 +0300 |
commit | 94a2edbe7984384df4c3fb7efa308af2e0f42d8c (patch) | |
tree | 96b563670ef5d790a4e97f8d153dc667d971ef64 /lib/gitlab/task_helpers.rb | |
parent | 7d8fc3b6b67a22969cd1fa5cb018fc22e6aa1ade (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/task_helpers.rb')
-rw-r--r-- | lib/gitlab/task_helpers.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/gitlab/task_helpers.rb b/lib/gitlab/task_helpers.rb index 54db31ffd6c..9dba8c99b99 100644 --- a/lib/gitlab/task_helpers.rb +++ b/lib/gitlab/task_helpers.rb @@ -149,18 +149,6 @@ module Gitlab end end - def all_repos - Gitlab::GitalyClient::StorageSettings.allow_disk_access do - Gitlab.config.repositories.storages.each_value do |repository_storage| - IO.popen(%W(find #{repository_storage.legacy_disk_path} -mindepth 2 -type d -name *.git)) do |find| - find.each_line do |path| - yield path.chomp - end - end - end - end - end - def repository_storage_paths_args Gitlab::GitalyClient::StorageSettings.allow_disk_access do Gitlab.config.repositories.storages.values.map { |rs| rs.legacy_disk_path } |