mirror of
https://github.com/pgsty/minio.git
synced 2026-08-06 15:51:14 +03:00
Preserve errors returned by diskInfo to detect disk errors (#9727)
This PR basically reverts #9720 and re-implements it differently
This commit is contained in:
@@ -413,6 +413,7 @@ type DiskInfo struct {
|
||||
Used uint64
|
||||
RootDisk bool
|
||||
MountPath string
|
||||
Error string // reports any error returned by underlying disk
|
||||
}
|
||||
|
||||
// DiskInfo provides current information about disk space usage,
|
||||
|
||||
Reference in New Issue
Block a user