Write system path to BoltDB on blobovnicza closing
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
627012e4fe
commit
4f5d5c7e45
1 changed files with 3 additions and 1 deletions
|
@ -66,7 +66,9 @@ func (b *Blobovnicza) Init() error {
|
||||||
|
|
||||||
// Close releases all internal database resources.
|
// Close releases all internal database resources.
|
||||||
func (b *Blobovnicza) Close() error {
|
func (b *Blobovnicza) Close() error {
|
||||||
b.log.Debug("closing BoltDB")
|
b.log.Debug("closing BoltDB",
|
||||||
|
zap.String("path", b.path),
|
||||||
|
)
|
||||||
|
|
||||||
return b.boltDB.Close()
|
return b.boltDB.Close()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue