mirror of
https://github.com/minio/minio.git
synced 2025-11-23 02:57:42 -05:00
Avoid error modification during IAM migration (#8156)
The underlying errors are important, for IAM requirements and should wait appropriately at the caller level, this allows for distributed setups to run properly and not fail prematurely during startup. Also additionally fix the onlineDisk counting
This commit is contained in:
@@ -101,6 +101,7 @@ func getDisksInfo(disks []StorageAPI) (disksInfo []DiskInfo, onlineDisks int, of
|
||||
for _, err := range errs {
|
||||
if err != nil {
|
||||
offlineDisks++
|
||||
continue
|
||||
}
|
||||
onlineDisks++
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user