diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-09-27 12:07:16 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-09-27 13:36:08 +0300 |
commit | 0a89a48ec93a6f9d52df719c82af5d765bb45d10 (patch) | |
tree | 135bc9d96ed38fcb68b997fea67966d4174676f1 /app.go | |
parent | c98ee83c05ec2e0e7ff5e0076f5f7d3745af32bc (diff) |
Create a factory method for Domains to handle mutex better
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -461,7 +461,7 @@ func (a *theApp) listenAdminHTTPS(wg *sync.WaitGroup) { } func runApp(config appConfig) { - a := theApp{appConfig: config, domains: new(source.Domains)} + a := theApp{appConfig: config, domains: source.NewDomains()} err := logging.ConfigureLogging(a.LogFormat, a.LogVerbose) if err != nil { |