mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-27 06:28:55 +08:00
set last checkin status
This commit is contained in:
parent
3e90dbe75a
commit
bab772f562
1 changed files with 2 additions and 3 deletions
|
|
@ -423,9 +423,8 @@ func SetNodeDefaults(node *models.Node, resetConnected bool) {
|
||||||
}
|
}
|
||||||
|
|
||||||
node.SetLastModified()
|
node.SetLastModified()
|
||||||
if node.LastCheckIn.IsZero() {
|
|
||||||
node.SetLastCheckIn()
|
node.SetLastCheckIn()
|
||||||
}
|
|
||||||
if resetConnected {
|
if resetConnected {
|
||||||
node.SetDefaultConnected()
|
node.SetDefaultConnected()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue