mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-25 05:27:23 +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()
|
||||
if node.LastCheckIn.IsZero() {
|
||||
node.SetLastCheckIn()
|
||||
}
|
||||
node.SetLastCheckIn()
|
||||
|
||||
if resetConnected {
|
||||
node.SetDefaultConnected()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue