diff --git a/storage/backends/s3/s3_test.go b/storage/backends/s3/s3_test.go index e077b483..816d8963 100644 --- a/storage/backends/s3/s3_test.go +++ b/storage/backends/s3/s3_test.go @@ -86,7 +86,7 @@ func TestS3Backend(t *testing.T) { } require.Equal(t, expected, packfiles) - rd, err = repo.GetPackfileBlob(checksum4, 0, 4) + rd, _ = repo.GetPackfileBlob(checksum4, 0, 4) buf = new(bytes.Buffer) _, err = io.Copy(buf, rd) require.NoError(t, err) @@ -100,7 +100,7 @@ func TestS3Backend(t *testing.T) { expected = []objects.Checksum{{0x60, 0x70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}} require.Equal(t, expected, packfiles) - rd, err = repo.GetPackfile(checksum4) + rd, _ = repo.GetPackfile(checksum4) buf = new(bytes.Buffer) _, err = io.Copy(buf, rd) require.NoError(t, err)