server fix

This commit is contained in:
0xdcarns
2022-01-12 12:51:51 -05:00
parent 6b6ce28b13
commit a1a7811a68
2 changed files with 4 additions and 0 deletions

View File

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