Remove redundant log (#16710)

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

View File

@ -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.