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:
authorVasilii Iakliushin <viakliushin@gitlab.com>2022-04-22 14:44:52 +0300
committerVasilii Iakliushin <viakliushin@gitlab.com>2022-06-19 21:12:50 +0300
commit96ad9fbe91f3a16d897cd9f3b4abb10a2008e881 (patch)
tree73be3df12e6c3042b6679189e285689715264a12
parentdfacb9cccdc9f5e023036575f6920cab9afbc762 (diff)
Remove 'self_signed_cert' option from gitlab-shell client541_remove_self_cert_option
Contributes to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/541 Changelog: changed
-rw-r--r--internal/gitaly/config/config.go1
-rw-r--r--internal/gitlab/http_client.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/internal/gitaly/config/config.go b/internal/gitaly/config/config.go
index 29718876f..bb930d906 100644
--- a/internal/gitaly/config/config.go
+++ b/internal/gitaly/config/config.go
@@ -98,7 +98,6 @@ type HTTPSettings struct {
Password string `toml:"password" json:"password"`
CAFile string `toml:"ca_file" json:"ca_file"`
CAPath string `toml:"ca_path" json:"ca_path"`
- SelfSigned bool `toml:"self_signed_cert" json:"self_signed_cert"`
}
// Git contains the settings for the Git executable
diff --git a/internal/gitlab/http_client.go b/internal/gitlab/http_client.go
index 05b75c521..cfefe4e9b 100644
--- a/internal/gitlab/http_client.go
+++ b/internal/gitlab/http_client.go
@@ -52,7 +52,6 @@ func NewHTTPClient(
gitlabCfg.RelativeURLRoot,
gitlabCfg.HTTPSettings.CAFile,
gitlabCfg.HTTPSettings.CAPath,
- gitlabCfg.HTTPSettings.SelfSigned,
uint64(gitlabCfg.HTTPSettings.ReadTimeout),
opts,
)