mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
Call ResetDB as Cleanup routine to close existing database connections
on backend unmount.
This commit is contained in:
@@ -35,6 +35,8 @@ func Backend() *framework.Backend {
|
||||
Secrets: []*framework.Secret{
|
||||
secretCreds(&b),
|
||||
},
|
||||
|
||||
Clean: b.ResetDB,
|
||||
}
|
||||
|
||||
return b.Backend
|
||||
|
||||
Reference in New Issue
Block a user