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

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Tak <vtak@gitlab.com>2022-06-03 11:41:14 +0300
committerVishal Tak <vtak@gitlab.com>2022-06-03 11:41:14 +0300
commit1ddad1bd6ab55120e7862c61e033632b20e66d6f (patch)
tree793ddcea40dee1308727b74254d226af77a58de0 /internal
parentff79d8bd21ce090619048e52cf06870e9e03e983 (diff)
Remove IsHTTPS field
Diffstat (limited to 'internal')
-rw-r--r--internal/config/config.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 46f5f26b..91ab019e 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -150,7 +150,6 @@ type Server struct {
type Metrics struct {
Address string
- IsHTTPS bool
TLSConfig *tls.Config
}
@@ -216,7 +215,6 @@ func loadMetricsConfig() (metrics Metrics, err error) {
return metrics, err
}
- metrics.IsHTTPS = true
metrics.TLSConfig = &tls.Config{
Certificates: []tls.Certificate{cert},
MinVersion: tls.VersionTLS12,