fix: linter errors in Windows specific code (#18276)

This commit is contained in:
Klaus Post
2023-10-18 11:08:15 -07:00
committed by GitHub
parent b46a717425
commit e37508fb8f
4 changed files with 17 additions and 21 deletions

View File

@@ -63,6 +63,6 @@ func DisableDirectIO(f *os.File) error {
// AlignedBlock simply returns an unaligned buffer
// for systems that do not support DirectIO.
func AlignedBlock(BlockSize int) []byte {
return make([]byte, BlockSize)
func AlignedBlock(blockSize int) []byte {
return make([]byte, blockSize)
}