mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-06 03:31:02 -06:00
Use pgxpool instead of pgx directly
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package command
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"path"
|
||||
|
||||
@@ -77,7 +76,7 @@ func SetupCommand() {
|
||||
defer func() {
|
||||
if db != nil {
|
||||
logrus.Info("Closing datbase connection")
|
||||
db.Close(context.Background())
|
||||
db.Close()
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user