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 b55038b commit 5646ab6Copy full SHA for 5646ab6
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