mirror of
https://github.com/pgsty/minio.git
synced 2026-08-07 16:21:14 +03:00
fix: validate partNumber in queryParam as part of preConditions (#9386)
This commit is contained in:
@@ -100,7 +100,7 @@ func (xl xlObjects) listObjects(ctx context.Context, bucket, prefix, marker, del
|
||||
} else {
|
||||
// Set the Mode to a "regular" file.
|
||||
var err error
|
||||
objInfo, err = xl.getObjectInfo(ctx, bucket, entry)
|
||||
objInfo, err = xl.getObjectInfo(ctx, bucket, entry, ObjectOptions{})
|
||||
if err != nil {
|
||||
// Ignore errFileNotFound as the object might have got
|
||||
// deleted in the interim period of listing and getObjectInfo(),
|
||||
|
||||
Reference in New Issue
Block a user