Skip to content

Commit

Permalink
Update manydbs_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Iván Valdés Castillo <[email protected]>
  • Loading branch information
henrybear327 and ivanvc authored Apr 4, 2024
1 parent 6c8bac3 commit 194d4d8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manydbs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ func createAndPutKeys(t *testing.T) {
}

var key [16]byte
_, rerr := rand.Read(key[:])
if rerr != nil {
return rerr
if _, err := rand.Read(key[:]); err != nil {
return err
}
if err := nodes.Put(key[:], nil); err != nil {
return err
Expand Down

0 comments on commit 194d4d8

Please sign in to comment.