mirror of
https://github.com/pgsty/minio.git
synced 2026-07-27 16:06:16 +03:00
cleanup Go linter settings (#16736)
This commit is contained in:
@@ -678,7 +678,7 @@ func metaDataPoolGet() []byte {
|
||||
// metaDataPoolPut will put an unused small buffer back into the pool.
|
||||
func metaDataPoolPut(buf []byte) {
|
||||
if cap(buf) >= metaDataReadDefault && cap(buf) < metaDataReadDefault*4 {
|
||||
//lint:ignore SA6002 we are fine with the tiny alloc
|
||||
//nolint:staticcheck // SA6002 we are fine with the tiny alloc
|
||||
metaDataPool.Put(buf)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user