ensure new listen port is written to config files and mq uses comms network

This commit is contained in:
Matthew R. Kasun
2022-02-22 22:34:08 -05:00
parent 8ab0f1a46c
commit 6c064cd4c6
2 changed files with 2 additions and 3 deletions

View File

@@ -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
}