mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-21 16:09:59 +08:00
server fix
This commit is contained in:

committed by
Matthew R Kasun

parent
ef81763e30
commit
a394bf7424
@@ -87,6 +87,8 @@ func ServerJoin(networkSettings *models.Network, serverID string) error {
|
||||
|
||||
node.Network = networkSettings.NetID
|
||||
|
||||
cleanupServerIfLegacy(node.MacAddress, network)
|
||||
|
||||
logger.Log(2, "adding a server instance on network", node.Network)
|
||||
err = CreateNode(node)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user