mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
fix: healing delete marker on versioned buckets (#10530)
Healing was not working correctly in the distributed mode because errFileVersionNotFound was not properly converted in storage rest client. Besides, fixing the healing delete marker is not working as expected.
This commit is contained in:
@@ -75,6 +75,8 @@ func toStorageErr(err error) error {
|
||||
return errVolumeExists
|
||||
case errFileNotFound.Error():
|
||||
return errFileNotFound
|
||||
case errFileVersionNotFound.Error():
|
||||
return errFileVersionNotFound
|
||||
case errFileNameTooLong.Error():
|
||||
return errFileNameTooLong
|
||||
case errFileAccessDenied.Error():
|
||||
|
||||
Reference in New Issue
Block a user