Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2023-09-18 11:36:35 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2023-09-19 09:48:58 +0300
commitaa8dfbd189afbde91dccbd779bf367c7cf50fc05 (patch)
treed0c88d2960fe46cf443a2796fe99ef17437127d1 /internal/command/command.go
parent1724766e9e11c60992a07c023757b6935a74114e (diff)
service: Simplify injection of dependencies for SmartHTTP server
While we already have a `service.Dependencies` type around for quite a long time, we still pass in dependencies explicitly when constructing the actual server. This makes it harder than necessary to make a server require more dependencies as you will have to adjust all callsites where the server is currently getting constructed. Simplify the code to instead inject the `service.Dependencies` type into the server directly. This will allow us to propagate dependencies more readily in the future.
Diffstat (limited to 'internal/command/command.go')
0 files changed, 0 insertions, 0 deletions