forked from TrueCloudLab/frostfs-node
batch -> update
This commit is contained in:
parent
9eb0c7535b
commit
c343af0439
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue