Call ResetDB as Cleanup routine to close existing database connections

on backend unmount.
This commit is contained in:
Lassi Pölönen
2015-09-10 17:24:18 +03:00
parent 750cf5053c
commit a769c1231b

View File

@@ -35,6 +35,8 @@ func Backend() *framework.Backend {
Secrets: []*framework.Secret{
secretCreds(&b),
},
Clean: b.ResetDB,
}
return b.Backend