From 1ea26f04701fa66e36b058f3efb3a6c7059cdc5c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 17 Mar 2023 02:28:54 -0400 Subject: tree-wide: Turn on all revive linters (with exceptions) --- lib/diskio/file_blockbuf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/diskio/file_blockbuf.go') diff --git a/lib/diskio/file_blockbuf.go b/lib/diskio/file_blockbuf.go index b7db849..0bb3156 100644 --- a/lib/diskio/file_blockbuf.go +++ b/lib/diskio/file_blockbuf.go @@ -99,5 +99,5 @@ func (bf *bufferedFile[A]) WriteAt(dat []byte, off A) (n int, err error) { bf.blockCache.Delete(blockOffset) } - return + return n, err } -- cgit v1.2.3-2-g168b