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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-23 17:20:16 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-23 17:20:16 +0300
commit08fb0bfc792db7c1b006ea066904d19a3456f99f (patch)
treea924a0a4efad12d2517a87c49468ed903a70f170 /app.go
parenteb17ac651ffe0a8c4f01c541c807ae793db55043 (diff)
Add note about transitional domain source interface
Diffstat (limited to 'app.go')
-rw-r--r--app.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.go b/app.go
index 09bf039e..ddbe8457 100644
--- a/app.go
+++ b/app.go
@@ -53,7 +53,7 @@ type theApp struct {
}
func (a *theApp) isReady() bool {
- return a.domains.Ready()
+ return a.domains.IsReady()
}
func (a *theApp) ServeTLS(ch *tls.ClientHelloInfo) (*tls.Certificate, error) {
@@ -348,7 +348,7 @@ func (a *theApp) Run() {
a.listenMetricsFD(&wg, a.ListenMetrics)
}
- a.domains.Watch(a.Domain)
+ a.domains.Start(a.Domain)
wg.Wait()
}