refactored more

This commit is contained in:
0xdcarns
2022-01-10 18:32:49 -05:00
parent a4a8c368d4
commit 545f45d86d
10 changed files with 78 additions and 53 deletions

View File

@@ -395,6 +395,7 @@ func GetNodeByIDorMacAddress(uuid string, macaddress string, network string) (mo
return models.Node{}, err
}
err = CreateNode(&node)
logger.Log(2, "rewriting legacy node data; node now has id,", node.ID)
if err != nil {
return models.Node{}, err
}