mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
refactored more
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user