mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
ensure new listen port is written to config files and mq uses comms network
This commit is contained in:
@@ -333,7 +333,7 @@ func getCommsNetworks(networks []string) (map[string]bool, error) {
|
||||
|
||||
func getCommsCfgByNode(node *models.Node) config.ClientConfig {
|
||||
var commsCfg config.ClientConfig
|
||||
commsCfg.Network = node.Network
|
||||
commsCfg.Network = node.CommID
|
||||
commsCfg.ReadConfig()
|
||||
return commsCfg
|
||||
}
|
||||
|
Reference in New Issue
Block a user