summaryrefslogtreecommitdiff
path: root/workhorse/main.go
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-04-27 12:08:19 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-04-27 12:08:19 +0000
commit863ba7d77355b305b06112b0c6c3cab3c09898b0 (patch)
tree6b657c3bfc0cff804fad6094ba61d42c6925c4d4 /workhorse/main.go
parent359bc6940b1205035e14f028b75d0c9c80a1fd5e (diff)
downloadgitlab-ce-863ba7d77355b305b06112b0c6c3cab3c09898b0.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse/main.go')
-rw-r--r--workhorse/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/workhorse/main.go b/workhorse/main.go
index a2156b491e7..c0fdc10cbaf 100644
--- a/workhorse/main.go
+++ b/workhorse/main.go
@@ -13,6 +13,7 @@ import (
"syscall"
"time"
+ "gitlab.com/gitlab-org/labkit/fips"
"gitlab.com/gitlab-org/labkit/log"
"gitlab.com/gitlab-org/labkit/monitoring"
"gitlab.com/gitlab-org/labkit/tracing"
@@ -171,6 +172,7 @@ func run(boot bootConfig, cfg config.Config) error {
tracing.Initialize(tracing.WithServiceName("gitlab-workhorse"))
log.WithField("version", Version).WithField("build_time", BuildTime).Print("Starting")
+ fips.Check()
// Good housekeeping for Unix sockets: unlink before binding
if boot.listenNetwork == "unix" {