mirror of
https://github.com/minio/minio.git
synced 2024-12-25 22:55:54 -05:00
Remove redundant log (#16710)
Co-authored-by: z30001483 <zekaifeng2@huawei.com>
This commit is contained in:
parent
8cde38404d
commit
4d7c8e3bb8
@ -450,7 +450,9 @@ func monitorLocalDisksAndHeal(ctx context.Context, z *erasureServerPools) {
|
|||||||
globalBackgroundHealState.setDiskHealingStatus(disk, true)
|
globalBackgroundHealState.setDiskHealingStatus(disk, true)
|
||||||
if err := healFreshDisk(ctx, z, disk); err != nil {
|
if err := healFreshDisk(ctx, z, disk); err != nil {
|
||||||
globalBackgroundHealState.setDiskHealingStatus(disk, false)
|
globalBackgroundHealState.setDiskHealingStatus(disk, false)
|
||||||
printEndpointError(disk, err, false)
|
if !errors.Is(err, context.Canceled) {
|
||||||
|
printEndpointError(disk, err, false)
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// Only upon success pop the healed disk.
|
// Only upon success pop the healed disk.
|
||||||
|
Loading…
Reference in New Issue
Block a user