mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
Updated with PR review comments.
This commit is contained in:
@@ -97,10 +97,11 @@ func startGoRoutines(wg *sync.WaitGroup) context.CancelFunc {
|
||||
if err := wireguard.ApplyConf(&cfg.Node, cfg.Node.Interface, ncutils.GetNetclientPathSpecific()+cfg.Node.Interface+".conf"); err != nil {
|
||||
logger.Log(0, "failed to start ", cfg.Node.Interface, "wg interface", err.Error())
|
||||
}
|
||||
server := cfg.Server.Server
|
||||
if cfg.PublicIPService != "" {
|
||||
global_settings.PublicIPServices[server] = cfg.PublicIPService
|
||||
global_settings.PublicIPServices[network] = cfg.PublicIPService
|
||||
}
|
||||
|
||||
server := cfg.Server.Server
|
||||
if !serverSet[server] {
|
||||
// == subscribe to all nodes for each on machine ==
|
||||
serverSet[server] = true
|
||||
|
Reference in New Issue
Block a user