Update Headscale to depend on gorm v2
This commit is contained in:
parent
df0d214faf
commit
69ba750b38
9 changed files with 47 additions and 40 deletions
1
app.go
1
app.go
|
@ -112,7 +112,6 @@ func (h *Headscale) expireEphemeralNodesWorker() {
|
|||
log.Printf("Cannot open DB: %s", err)
|
||||
return
|
||||
}
|
||||
defer db.Close()
|
||||
|
||||
namespaces, err := h.ListNamespaces()
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue