Skip to content
Snippets Groups Projects
Commit 4be3c1c3 authored by Pavlo Strokov's avatar Pavlo Strokov
Browse files

Break dependency of the CloneRepoAtStorage on the global config.Config

In order to get rid of the global variable config.Config we change
CloneRepoAtStorage function to accept config.Cfg as an input parameter.
We use locally defined instance of the config.Cfg type to call modified
function, so the usage of it is no longer depend on the config.Config
variable.

Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2699
parent f374cb29
Showing
with 33 additions and 33 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment