From 8f6e1621424547794623d0585b811ee2fbb08b70 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Mon, 28 May 2018 23:05:11 +0200 Subject: [PATCH] fix lint warnings --- common/buf/buffer_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buf/buffer_pool.go b/common/buf/buffer_pool.go index e7388133..3080a815 100644 --- a/common/buf/buffer_pool.go +++ b/common/buf/buffer_pool.go @@ -56,7 +56,7 @@ func freeBytes(b []byte) { b = b[0:cap(b)] for i := numPools - 1; i >= 0; i-- { if size >= poolSize[i] { - pool[i].Put(b) + pool[i].Put(b) // nolint: megacheck return } }