mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 01:07:41 +08:00
associate enrollment key tags to node
This commit is contained in:
@@ -420,6 +420,9 @@ func SetNodeDefaults(node *models.Node, resetConnected bool) {
|
||||
node.SetDefaultConnected()
|
||||
}
|
||||
node.SetExpirationDateTime()
|
||||
if node.Tags == nil {
|
||||
node.Tags = make(map[models.TagID]struct{})
|
||||
}
|
||||
}
|
||||
|
||||
// GetRecordKey - get record key
|
||||
|
Reference in New Issue
Block a user