From c343af0439bbe3c16bcdf40ab7b5a8114f64e757 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Fri, 16 Jun 2023 18:27:18 +0300 Subject: [PATCH] batch -> update --- pkg/local_object_storage/blobovnicza/put.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/local_object_storage/blobovnicza/put.go b/pkg/local_object_storage/blobovnicza/put.go index 37ed57e1c..5b09f4ea8 100644 --- a/pkg/local_object_storage/blobovnicza/put.go +++ b/pkg/local_object_storage/blobovnicza/put.go @@ -52,7 +52,7 @@ func (b *Blobovnicza) Put(prm PutPrm) (PutRes, error) { bucketName := bucketForSize(sz) key := addressKey(prm.addr) - err := b.boltDB.Batch(func(tx *bbolt.Tx) error { + err := b.boltDB.Update(func(tx *bbolt.Tx) error { if b.full() { return ErrFull }