satellite/metabase: add missing error check
Change-Id: I6891f0647cb8e4a8dd6534eaa3588bbe76e2721d
This commit is contained in:
parent
805fcdf341
commit
b5c5c62d7b
@ -130,6 +130,9 @@ func (db *DB) deleteBucketObjectBatchWithCopyFeatureEnabled(ctx context.Context,
|
||||
|
||||
return db.promoteNewAncestors(ctx, tx, objects)
|
||||
})
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
deletedObjectCount = int64(len(objects))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user