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:
authorSami Hiltunen <shiltunen@gitlab.com>2022-06-28 09:31:05 +0300
committerSami Hiltunen <shiltunen@gitlab.com>2022-07-15 11:16:43 +0300
commit554ccd52e2290ebc697d3029c7b45d112f37ce42 (patch)
tree1c3f01ca7d66c9d4f71a1ea94a9ec8148413ea93
parent9c2d53c9d31da39b0e34c38b930c8b878fbd23e8 (diff)
Remove binDir from repository service
Repository service's server type contains an unused field called binDir. This commit removes it.
-rw-r--r--internal/gitaly/service/repository/server.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/gitaly/service/repository/server.go b/internal/gitaly/service/repository/server.go
index 1c0cb7506..a6d8faa07 100644
--- a/internal/gitaly/service/repository/server.go
+++ b/internal/gitaly/service/repository/server.go
@@ -23,7 +23,6 @@ type server struct {
txManager transaction.Manager
gitCmdFactory git.CommandFactory
cfg config.Cfg
- binDir string
loggingCfg config.Logging
catfileCache catfile.Cache
git2goExecutor *git2go.Executor
@@ -49,7 +48,6 @@ func NewServer(
gitCmdFactory: gitCmdFactory,
conns: connsPool,
cfg: cfg,
- binDir: cfg.BinDir,
loggingCfg: cfg.Logging,
catfileCache: catfileCache,
git2goExecutor: git2goExecutor,