From ab975f6a6d3528c06fd9ba55449961f51237a450 Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 27 Dec 2022 04:08:53 -0800 Subject: [PATCH] fix test compilation --- weed/filer/reader_at_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer/reader_at_test.go b/weed/filer/reader_at_test.go index 29bd47ea4..2066ba081 100644 --- a/weed/filer/reader_at_test.go +++ b/weed/filer/reader_at_test.go @@ -86,7 +86,7 @@ func testReadAt(t *testing.T, readerAt *ChunkReadAt, offset int64, size int, exp if data == nil { data = make([]byte, size) } - n, err := readerAt.doReadAt(data, offset) + n, _, err := readerAt.doReadAt(data, offset) if expectedN != n { t.Errorf("unexpected read size: %d, expect: %d", n, expectedN)