cleanup Go linter settings (#16736)

This commit is contained in:
ferhat elmas
2023-03-05 05:57:35 +01:00
committed by GitHub
parent 9d062b37d7
commit 3423028713
13 changed files with 59 additions and 52 deletions

View File

@@ -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)
}
}