registry: Try to continue iteration #131

Merged
dstepanov-yadro merged 1 commit from dstepanov-yadro/xk6-frostfs:fix/registry_selector into master 2024-09-04 19:51:18 +00:00
Showing only changes of commit 0a6e51ccc9 - Show all commits

View file

@ -62,7 +62,7 @@ func (o *ObjSelector) NextObject() *ObjectInfo {
// Count returns total number of objects that match filter of the selector.
func (o *ObjSelector) Count() (int, error) {
var count = 0
count := 0
err := o.boltDB.View(func(tx *bbolt.Tx) error {
b := tx.Bucket([]byte(o.filter.Status))
if b == nil {