mirror of
https://github.com/minio/minio.git
synced 2026-03-01 11:31:05 +01:00
typo: fix return of checkDiskFatalErrs (#21121)
Some checks are pending
VulnCheck / Analysis (push) Waiting to run
Some checks are pending
VulnCheck / Analysis (push) Waiting to run
This commit is contained in:
parent
eb33bc6bf5
commit
89aec6804b
@ -1156,7 +1156,7 @@ func checkDiskFatalErrs(errs []error) error {
|
||||
}
|
||||
|
||||
if countErrs(errs, errFileAccessDenied) == len(errs) {
|
||||
return errDiskAccessDenied
|
||||
return errFileAccessDenied
|
||||
}
|
||||
|
||||
if countErrs(errs, errDiskNotDir) == len(errs) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user