mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
fix: parallelize getPoolIdx() for object lookup (#11547)
This commit is contained in:
1 parent
87cce344f6
commit
aa8450a2a1
2 files changed
+16
-3
No files matched your search
@@ -458,7 +458,7 @@ func (er erasureObjects) getObjectInfo(ctx context.Context, bucket, object strin
|
||||
objInfo.StorageClass = sc
|
||||
}
|
||||
}
|
||||
if !fi.VersionPurgeStatus.Empty() {
|
||||
if !fi.VersionPurgeStatus.Empty() && opts.VersionID != "" {
|
||||
// Make sure to return object info to provide extra information.
|
||||
return objInfo, toObjectErr(errMethodNotAllowed, bucket, object)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user