forked from TrueCloudLab/frostfs-node
[#86] node: Fix unit test and linter errors
Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
This commit is contained in:
parent
9808dec591
commit
34329d67ff
4 changed files with 6 additions and 5 deletions
|
@ -22,7 +22,7 @@ func GenerateObject() *object.Object {
|
|||
|
||||
func GenerateObjectWithCID(cnr cid.ID) *object.Object {
|
||||
data := make([]byte, defaultDataSize)
|
||||
rand.Read(data)
|
||||
_, _ = rand.Read(data)
|
||||
return GenerateObjectWithCIDWithPayload(cnr, data)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue