mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03:00
heal: Add healing support for bucket, bucket metadata files. (#3252)
This patch implements healing in general but it is only used as part of quickHeal(). Fixes #3237
This commit is contained in:
@@ -1338,7 +1338,7 @@ func TestWebObjectLayerFaultyDisks(t *testing.T) {
|
||||
defer removeRoots(fsDirs)
|
||||
|
||||
// Set faulty disks to XL backend
|
||||
xl := obj.(xlObjects)
|
||||
xl := obj.(*xlObjects)
|
||||
for i, d := range xl.storageDisks {
|
||||
xl.storageDisks[i] = newNaughtyDisk(d.(*posix), nil, errFaultyDisk)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user