1
0
mirror of https://github.com/minio/minio.git synced 2025-03-31 01:33:41 -04:00

Remove redundant log ()

Co-authored-by: z30001483 <zekaifeng2@huawei.com>
This commit is contained in:
dorman 2023-02-28 01:59:47 +08:00 committed by GitHub
parent 8cde38404d
commit 4d7c8e3bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -450,7 +450,9 @@ func monitorLocalDisksAndHeal(ctx context.Context, z *erasureServerPools) {
globalBackgroundHealState.setDiskHealingStatus(disk, true)
if err := healFreshDisk(ctx, z, disk); err != nil {
globalBackgroundHealState.setDiskHealingStatus(disk, false)
printEndpointError(disk, err, false)
if !errors.Is(err, context.Canceled) {
printEndpointError(disk, err, false)
}
return
}
// Only upon success pop the healed disk.