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:
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 037c96027..7c37bbdd8 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -46,8 +46,9 @@ type Cfg struct {
GitlabShell GitlabShell `toml:"gitlab-shell"`
Concurrency []Concurrency `toml:"concurrency"`
GracefulRestartTimeout time.Duration
- GracefulRestartTimeoutToml duration `toml:"graceful_restart_timeout"`
- InternalSocketDir string `toml:"internal_socket_dir"`
+ GracefulRestartTimeoutToml duration `toml:"graceful_restart_timeout"`
+ InternalSocketDir string `toml:"internal_socket_dir"`
+ GitlabRails GitlabRails `toml:"gitlab-rails"`
}
// TLS configuration
@@ -61,6 +62,11 @@ type GitlabShell struct {
Dir string `toml:"dir"`
}
+// GitlabRails bla
+type GitlabRails struct {
+ URL string `toml:"url"`
+}
+
// Git contains the settings for the Git executable
type Git struct {
BinPath string `toml:"bin_path"`