return quorum error instead of insufficient storage error (#16874)

This commit is contained in:
Anis Eleuch
2023-03-23 00:22:37 +01:00
committed by GitHub
parent 4bc52897b2
commit 1346561b9d
3 changed files with 34 additions and 14 deletions

View File

@@ -37,6 +37,6 @@ func DisableDirectIO(f *os.File) error {
}
// AlignedBlock - pass through to directio implementation.
func AlignedBlock(BlockSize int) []byte {
return directio.AlignedBlock(BlockSize)
func AlignedBlock(blockSize int) []byte {
return directio.AlignedBlock(blockSize)
}