From 0a6e51ccc9048f785f158c8f8170e2ed779e0208 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Wed, 20 Mar 2024 11:41:03 +0300 Subject: [PATCH] [#131] registry: Gofumpt Signed-off-by: Dmitrii Stepanov --- internal/registry/obj_selector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/registry/obj_selector.go b/internal/registry/obj_selector.go index 02624cc..6519a8e 100644 --- a/internal/registry/obj_selector.go +++ b/internal/registry/obj_selector.go @@ -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 { -- 2.45.2