mirror of
https://github.com/minio/minio.git
synced 2025-07-16 04:11:51 -04:00
heal: Avoid disabling scanner healing in single and dist erasure mode (#21302)
A typo disabled the scanner healing in erasure mode. Fix it.
This commit is contained in:
parent
160f8a901b
commit
63e102c049
@ -332,7 +332,7 @@ func scanDataFolder(ctx context.Context, disks []StorageAPI, drive *xlStorage, c
|
|||||||
}
|
}
|
||||||
|
|
||||||
var skipHeal atomic.Bool
|
var skipHeal atomic.Bool
|
||||||
if globalIsErasure || cache.Info.SkipHealing {
|
if !globalIsErasure || cache.Info.SkipHealing {
|
||||||
skipHeal.Store(true)
|
skipHeal.Store(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user