[#131] registry: Gofumpt
DCO action / DCO (pull_request) Successful in 1m11s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 2m20s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m33s Details
Tests and linters / Lint (pull_request) Successful in 2m55s Details
Tests and linters / Tests with -race (pull_request) Successful in 3m18s Details

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
pull/131/head
Dmitrii Stepanov 2024-03-20 11:41:03 +03:00
parent 93aaec4e0d
commit 0a6e51ccc9
1 changed files with 1 additions and 1 deletions

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 {