testutil: Fix linter warning
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
5778980252
commit
5d2affa5cd
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ var _ ObjectGenerator = &RandObjGenerator{}
|
||||||
|
|
||||||
func (g *RandObjGenerator) Next() *object.Object {
|
func (g *RandObjGenerator) Next() *object.Object {
|
||||||
var id oid.ID
|
var id oid.ID
|
||||||
rand.Read(id[:])
|
_, _ = rand.Read(id[:])
|
||||||
return generateObjectWithOIDWithCIDWithSize(id, cid.ID{}, g.ObjSize)
|
return generateObjectWithOIDWithCIDWithSize(id, cid.ID{}, g.ObjSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue