diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-08-10 17:23:19 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-08-20 04:39:04 +0300 |
commit | 5e9447161081a73d15ae81cd21da683fde7c2e9b (patch) | |
tree | aacdfe699490353a5f3ed4fc30a91218bdac76a6 /app.go | |
parent | 111faf403e3df4c6e998a625f7ad8b22da4ff6ee (diff) |
refactor: remove support for disk configuration source
Changelog: removed
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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") } |