mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-24 17:30:29 +08:00
remove comms network leftovers
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
This commit is contained in:
@@ -43,7 +43,7 @@ func ServerJoin(networkSettings *models.Network) (models.Node, error) {
|
||||
}
|
||||
var ishub = "no"
|
||||
|
||||
if networkSettings.IsPointToSite == "yes" || networkSettings.IsComms == "yes" {
|
||||
if networkSettings.IsPointToSite == "yes" {
|
||||
nodes, err := GetNetworkNodes(networkSettings.NetID)
|
||||
if err != nil || nodes == nil {
|
||||
ishub = "yes"
|
||||
|
||||
Reference in New Issue
Block a user