mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
added hotfixes
This commit is contained in:

committed by
Matthew R Kasun

parent
7a5bcb5a68
commit
6ad6e2078b
@@ -395,10 +395,11 @@ 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
|
||||
}
|
||||
logger.Log(2, "rewriting legacy node data; node now has id,", node.ID)
|
||||
node.PullChanges = "yes"
|
||||
}
|
||||
return node, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user