Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Moore <[email protected]>
  • Loading branch information
jimmyaxod committed Oct 23, 2024
1 parent b08f9e3 commit fc0be19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/storage/device/device_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ func TestDeviceSync(t *testing.T) {
// Do a few write here, and wait a little bit for sync to happen...
for i := 0; i < num_blocks; i++ {
wbuffer := make([]byte, block_size)
rand.Read(wbuffer)
_, err = rand.Read(wbuffer)
assert.NoError(t, err)
n, err = prov.WriteAt(wbuffer, int64(i*block_size))
assert.NoError(t, err)
assert.Equal(t, 64*1024, n)
Expand Down

0 comments on commit fc0be19

Please sign in to comment.