mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-05 20:54:18 +08:00
set last checkin when registered
This commit is contained in:
parent
8a0998bcc1
commit
7efe780e5a
1 changed files with 1 additions and 0 deletions
|
@ -706,6 +706,7 @@ func createNode(node *models.Node) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
node.SetLastCheckIn()
|
||||
err = database.Insert(node.ID.String(), string(nodebytes), database.NODES_TABLE_NAME)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Reference in a new issue