Browse Source

typo: fix return of checkDiskFatalErrs (#21121)

pull/21201/head
Burkov Egor 3 months ago
committed by GitHub
parent
commit
89aec6804b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      cmd/storage-rest-server.go

2
cmd/storage-rest-server.go

@ -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…
Cancel
Save