change local address and join create func

This commit is contained in:
0xdcarns
2022-12-23 14:22:34 -05:00
parent ad2934a8fc
commit 8058640cdf
3 changed files with 106 additions and 105 deletions

View File

@@ -208,7 +208,7 @@ func AssociateNodeToHost(n *models.Node, h *models.Host) error {
return ErrInvalidHostID
}
n.HostID = h.ID
err := CreateNode(n)
err := createNode(n)
if err != nil {
return err
}