Write system path to BoltDB on blobovnicza closing

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-12-11 10:59:28 +03:00 committed by Alex Vanin
parent 627012e4fe
commit 4f5d5c7e45

View file

@ -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()
} }