Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d2be4 commit 026a875Copy full SHA for 026a875
cli/resetpassword.go
@@ -50,6 +50,7 @@ func (*RootCmd) resetPassword() *serpent.Command {
50
if err != nil {
51
return xerrors.Errorf("dial postgres: %w", err)
52
}
53
+ defer sqlDB.Close()
54
55
db := database.New(sqlDB)
56
0 commit comments