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
path: root/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app.go')
-rw-r--r--app.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/app.go b/app.go
index 43f50d9c..7fec64c5 100644
--- a/app.go
+++ b/app.go
@@ -413,8 +413,6 @@ func (a *theApp) Run() {
a.listenMetricsFD(&wg, a.config.ListenMetrics)
}
- a.domains.Read(a.config.General.Domain)
-
wg.Wait()
}
@@ -495,7 +493,7 @@ func (a *theApp) listenMetricsFD(wg *sync.WaitGroup, fd uintptr) {
}
func runApp(config *cfg.Config) {
- domains, err := source.NewDomains(config.General.DomainConfigurationSource, &config.GitLab)
+ domains, err := source.NewDomains(&config.GitLab)
if err != nil {
log.WithError(err).Fatal("could not create domains config source")
}