lib/config, lib/connections: Remove ListenAddresses hack (#6188)

This commit is contained in:
Simon Frei authored and Jakob Borg committed 2019-11-26 17:07:25 +01:00
1 parent 8ced8ad562
commit b32821a586
9 files changed
+107 -112

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ func (a *App) startup() error {
a.mainService.Add(connectionsService)
if a.cfg.Options().GlobalAnnEnabled {
for _, srv := range a.cfg.GlobalDiscoveryServers() {
for _, srv := range a.cfg.Options().GlobalDiscoveryServers() {
l.Infoln("Using discovery server", srv)
gd, err := discover.NewGlobal(srv, a.cert, connectionsService, a.evLogger)
if err != nil {