summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2021-11-24 05:48:32 +0000
committerAsh McKenzie <amckenzie@gitlab.com>2021-11-24 05:48:32 +0000
commitc0d3b2dbd0fe0aa21685fec7d77a90dc4ed09b31 (patch)
treeb64887005fbb469f9c407e13778f197319385183
parent31901e0d6c2b863ad93199c8a93a7c2ce0923c60 (diff)
parentb1d1827c470344fee57bc6d9e903b7cba4ca35bd (diff)
downloadgitlab-shell-c0d3b2dbd0fe0aa21685fec7d77a90dc4ed09b31.tar.gz
Merge branch 'id-remove-ssl-cert-dir-logging' into 'main'
Remove SSL_CERT_DIR logging See merge request gitlab-org/gitlab-shell!546
-rw-r--r--internal/config/config.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index cbaf6d1..5185736 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -14,8 +14,6 @@ import (
"gitlab.com/gitlab-org/gitlab-shell/client"
"gitlab.com/gitlab-org/gitlab-shell/internal/metrics"
-
- "gitlab.com/gitlab-org/labkit/log"
)
const (
@@ -95,8 +93,6 @@ func (sc *ServerConfig) GracePeriod() time.Duration {
func (c *Config) ApplyGlobalState() {
if c.SslCertDir != "" {
- log.WithFields(log.Fields{"ssl_cert_dir": c.SslCertDir}).Info("SSL_CERT_DIR is configured")
-
os.Setenv("SSL_CERT_DIR", c.SslCertDir)
}
}